freebsd-ports/www/rubygem-scrapi/Makefile
Philip M. Gollucci 4e3d011569 Set NO_ARCH for remaining rubygem-* ports with no arch dependent files
Obtained from:  DEVELOPER_MODE
With Hat:       ruby@

Sponsored by:   RideCharge Inc / Curb
2015-07-02 16:01:06 +00:00

30 lines
743 B
Makefile

# Created by: IWATSUKI Hiroyuki <don@na.rim.or.jp>
# $FreeBSD$
PORTNAME= scrapi
PORTVERSION= 1.2.0
CATEGORIES= www rubygems
MASTER_SITES= RG
MAINTAINER= don@na.rim.or.jp
COMMENT= ScrAPI toolkit for Ruby
BUILD_DEPENDS= ${LOCALBASE}/${SPEC_DIR}/tidy-1.1.2.gemspec:${PORTSDIR}/textproc/rubygem-tidy \
tidy:${PORTSDIR}/www/tidy-lib
NO_ARCH= yes
USE_RUBY= yes
USE_RUBYGEMS= yes
USE_LDCONFIG= yes
RUBYGEM_AUTOPLIST= yes
PLIST_FILES= ${GEM_LIB_DIR}/lib/tidy/libtidy.so
.include <bsd.port.pre.mk>
post-install:
${RM} -f ${LOCALBASE}/${GEM_LIB_DIR}/lib/tidy/libtidy.dll
${RM} -f ${LOCALBASE}/${GEM_LIB_DIR}/lib/tidy/libtidy.so
${LN} -sf ${LOCALBASE}/lib/libtidy.so ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/lib/tidy/
.include <bsd.port.post.mk>