aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2010-08-15 00:35:52 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2010-08-15 00:35:52 +0000
commitf0384a44a7a011f9c7d4cfeb05de378d266c9126 (patch)
tree8f2b79ed7c63b9ad3e41402aa75cf8673c65c244 /math
parentc58fc9a6787dde9b292db63ca12ae52fd261caf0 (diff)
downloadports-f0384a44a7a011f9c7d4cfeb05de378d266c9126.tar.gz
ports-f0384a44a7a011f9c7d4cfeb05de378d266c9126.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/R-cran-sm/files/bsd.cran.mk10
1 files changed, 10 insertions, 0 deletions
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
+