aboutsummaryrefslogtreecommitdiff
path: root/databases/rubygem-sqlite3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/rubygem-sqlite3/Makefile')
-rw-r--r--databases/rubygem-sqlite3/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/databases/rubygem-sqlite3/Makefile b/databases/rubygem-sqlite3/Makefile
index d113ce949763..dbb226049d9b 100644
--- a/databases/rubygem-sqlite3/Makefile
+++ b/databases/rubygem-sqlite3/Makefile
@@ -17,17 +17,10 @@ COMMENT= Ruby interface to the SQLite DB engine version 3
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
-GEM_NAME= ${DISTNAME}
-
USE_RUBY= yes
USE_RUBYGEMS= yes
+GEM_NAME= ${DISTNAME}
+RUBYGEM_AUTOPLIST= 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}
.include <bsd.port.mk>