1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Convert to RUBYGEM_AUTOPLIST

- Use RF macro

PR:             ports/133577
Approved by:    maintainer timeout (2 weeks 1 day)
Submitted by:   me
This commit is contained in:
Philip M. Gollucci 2009-04-24 02:05:38 +00:00
parent 7471e7a072
commit 89f3afad2f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=232626

View File

@ -8,8 +8,7 @@
PORTNAME= jpmobile
PORTVERSION= 0.0.2
CATEGORIES= japanese www rubygems
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MASTER_SITES= RF
MAINTAINER= tota@rtfm.jp
COMMENT= A Rails plugin for Japanese mobile-phones
@ -21,13 +20,6 @@ RUN_DEPENDS= rubygem-actionpack>=1.12.5:${PORTSDIR}/www/rubygem-actionpack \
USE_RUBY= yes
USE_RUBYGEMS= yes
post-install:
@${ECHO} ${GEM_CACHE} > ${TMPPLIST}
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
@${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
RUBYGEM_AUTOPLIST= yes
.include <bsd.port.mk>