aboutsummaryrefslogtreecommitdiff
path: root/devel/rubygem-lockfile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/rubygem-lockfile/Makefile')
-rw-r--r--devel/rubygem-lockfile/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/devel/rubygem-lockfile/Makefile b/devel/rubygem-lockfile/Makefile
index 6d1a1930ba9d..e67cbbfba8e5 100644
--- a/devel/rubygem-lockfile/Makefile
+++ b/devel/rubygem-lockfile/Makefile
@@ -16,15 +16,7 @@ COMMENT= A ruby library for creating NFS safe lockfiles
USE_RUBY= yes
USE_RUBYGEMS= yes
USE_RAKE= yes
-
-post-install:
- @${ECHO} bin/rlock >> ${TMPPLIST}
- @${ECHO} bin/rlock-${PORTVERSION} >> ${TMPPLIST}
- @${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
+PLIST_FILES= bin/rlock bin/rlock-${PORTVERSION}
.include <bsd.port.mk>