diff options
author | TAKATSU Tomonari <tota@FreeBSD.org> | 2010-08-15 00:35:52 +0000 |
---|---|---|
committer | TAKATSU Tomonari <tota@FreeBSD.org> | 2010-08-15 00:35:52 +0000 |
commit | f0384a44a7a011f9c7d4cfeb05de378d266c9126 (patch) | |
tree | 8f2b79ed7c63b9ad3e41402aa75cf8673c65c244 | |
parent | c58fc9a6787dde9b292db63ca12ae52fd261caf0 (diff) | |
download | ports-f0384a44a7a011f9c7d4cfeb05de378d266c9126.tar.gz ports-f0384a44a7a011f9c7d4cfeb05de378d266c9126.zip |
Notes
-rw-r--r-- | Mk/bsd.cran.mk | 10 | ||||
-rw-r--r-- | math/R-cran-sm/files/bsd.cran.mk | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/Mk/bsd.cran.mk b/Mk/bsd.cran.mk index 753ccdbfe5e8..229104978c7d 100644 --- a/Mk/bsd.cran.mk +++ b/Mk/bsd.cran.mk @@ -26,3 +26,13 @@ do-install: @cd ${WRKDIR} && ${R_INS} ${PORTNAME} .endif +.if defined(R_MOD) && defined(R_MOD_AUTOPLIST) +.if !target(post-install-script) +post-install-script: + @${FIND} -ds ${PREFIX}/${R_MOD_DIR} -type f -print | ${SED} -E -e \ + 's,^${PREFIX}/?,,' > ${TMPPLIST} + @${FIND} -ds ${PREFIX}/${R_MOD_DIR} -type d -print | ${SED} -E -e \ + 's,^${PREFIX}/?,@dirrm ,' >> ${TMPPLIST} +.endif +.endif + diff --git a/math/R-cran-sm/files/bsd.cran.mk b/math/R-cran-sm/files/bsd.cran.mk index 753ccdbfe5e8..229104978c7d 100644 --- a/math/R-cran-sm/files/bsd.cran.mk +++ b/math/R-cran-sm/files/bsd.cran.mk @@ -26,3 +26,13 @@ do-install: @cd ${WRKDIR} && ${R_INS} ${PORTNAME} .endif +.if defined(R_MOD) && defined(R_MOD_AUTOPLIST) +.if !target(post-install-script) +post-install-script: + @${FIND} -ds ${PREFIX}/${R_MOD_DIR} -type f -print | ${SED} -E -e \ + 's,^${PREFIX}/?,,' > ${TMPPLIST} + @${FIND} -ds ${PREFIX}/${R_MOD_DIR} -type d -print | ${SED} -E -e \ + 's,^${PREFIX}/?,@dirrm ,' >> ${TMPPLIST} +.endif +.endif + |