aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-01-23 02:35:43 +0800
committersem <sem@FreeBSD.org>2006-01-23 02:35:43 +0800
commit6c4b9b3ce7f5d52c6b7ed204607cf099fd0b1ee8 (patch)
tree4811f3e197290d68e150158a51d3014a0c928413 /net
parent541c14da4e91b95c32f0c040a763210d46a18347 (diff)
downloadfreebsd-ports-gnome-6c4b9b3ce7f5d52c6b7ed204607cf099fd0b1ee8.tar.gz
freebsd-ports-gnome-6c4b9b3ce7f5d52c6b7ed204607cf099fd0b1ee8.tar.zst
freebsd-ports-gnome-6c4b9b3ce7f5d52c6b7ed204607cf099fd0b1ee8.zip
- Utilize @dirrmtry in auto generated PLIST
PR: ports/92161 Submitted by: maintainer
Diffstat (limited to 'net')
-rw-r--r--net/phpldapadmin/Makefile7
-rw-r--r--net/phpldapadmin098/Makefile7
2 files changed, 4 insertions, 10 deletions
diff --git a/net/phpldapadmin/Makefile b/net/phpldapadmin/Makefile
index aa9c794c5e6f..546ff0e6f4a7 100644
--- a/net/phpldapadmin/Makefile
+++ b/net/phpldapadmin/Makefile
@@ -51,9 +51,6 @@ SUB_FILES+= pkg-message
PLIST= ${WRKDIR}/plist
PLIST_SUB+= PLADIR=${PLADIR} PLAGRP=${PLAGRP}
-sedSTART= @unexec ${RMDIR} %D/%%PLADIR%%
-sedEND= 2>/dev/null || true
-
.SILENT:
pre-everything::
@@ -70,8 +67,8 @@ post-patch:
${SORT} | ${SED} -e "s!^\.!%%PLADIR%%!" >${PLIST} ; \
${CAT} ${PKGDIR}/pkg-plist-chunk >>${PLIST} ; \
${FIND} . -type d | ${SORT} -r | ${SED} \
- -e 's!^\./${CFGDIR}$$!${sedSTART}/${CFGDIR} ${sedEND}!' \
- -e 's!^\.$$!${sedSTART} ${sedEND}!' \
+ -e 's!^\./${CFGDIR}$$!@dirrmtry %%PLADIR%%/${CFGDIR}!' \
+ -e 's!^\.$$!@dirrmtry %%PLADIR%%!' \
-e 's!^\.!@dirrm %%PLADIR%%!' >>${PLIST}
pre-install:
diff --git a/net/phpldapadmin098/Makefile b/net/phpldapadmin098/Makefile
index aa9c794c5e6f..546ff0e6f4a7 100644
--- a/net/phpldapadmin098/Makefile
+++ b/net/phpldapadmin098/Makefile
@@ -51,9 +51,6 @@ SUB_FILES+= pkg-message
PLIST= ${WRKDIR}/plist
PLIST_SUB+= PLADIR=${PLADIR} PLAGRP=${PLAGRP}
-sedSTART= @unexec ${RMDIR} %D/%%PLADIR%%
-sedEND= 2>/dev/null || true
-
.SILENT:
pre-everything::
@@ -70,8 +67,8 @@ post-patch:
${SORT} | ${SED} -e "s!^\.!%%PLADIR%%!" >${PLIST} ; \
${CAT} ${PKGDIR}/pkg-plist-chunk >>${PLIST} ; \
${FIND} . -type d | ${SORT} -r | ${SED} \
- -e 's!^\./${CFGDIR}$$!${sedSTART}/${CFGDIR} ${sedEND}!' \
- -e 's!^\.$$!${sedSTART} ${sedEND}!' \
+ -e 's!^\./${CFGDIR}$$!@dirrmtry %%PLADIR%%/${CFGDIR}!' \
+ -e 's!^\.$$!@dirrmtry %%PLADIR%%!' \
-e 's!^\.!@dirrm %%PLADIR%%!' >>${PLIST}
pre-install: