aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/egroupware
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-11-13 22:32:39 +0800
committerantoine <antoine@FreeBSD.org>2014-11-13 22:32:39 +0800
commit1996a165481036bbeaea5d090137d5fc8ef2e6a9 (patch)
tree22a87d3317beee8f02c7861d098cdd324706acc8 /deskutils/egroupware
parentc69293503f700e636413434135ae561b4307d48b (diff)
downloadfreebsd-ports-gnome-1996a165481036bbeaea5d090137d5fc8ef2e6a9.tar.gz
freebsd-ports-gnome-1996a165481036bbeaea5d090137d5fc8ef2e6a9.tar.zst
freebsd-ports-gnome-1996a165481036bbeaea5d090137d5fc8ef2e6a9.zip
Cleanup plist
Diffstat (limited to 'deskutils/egroupware')
-rw-r--r--deskutils/egroupware/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/deskutils/egroupware/Makefile b/deskutils/egroupware/Makefile
index 49f2e9012371..ea9479cc2f4d 100644
--- a/deskutils/egroupware/Makefile
+++ b/deskutils/egroupware/Makefile
@@ -57,25 +57,21 @@ EG_DATADIR= ${PREFIX}/${EG_DATA}
pre-install:
@${ECHO_CMD} '@owner ${WWWOWN}' > ${PLIST}
@${ECHO_CMD} '@group ${WWWGRP}' >> ${PLIST}
+ @${ECHO_CMD} '@mode 755' >> ${PLIST}
@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s#${WRKSRC}#${EG_DIR}#g" >> ${PLIST}
- @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s#${WRKSRC}#@dirrm ${EG_DIR}#g" >> ${PLIST}
- @${ECHO} @dirrm ${EG_DATA}/files >> ${PLIST}
- @${ECHO} @dirrm ${EG_DATA}/backup >> ${PLIST}
- @${ECHO} @dirrm ${EG_DATA} >> ${PLIST}
+ @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s#${WRKSRC}#@dir ${EG_DIR}#g" >> ${PLIST}
+ @${ECHO} @dir ${EG_DATA}/files >> ${PLIST}
+ @${ECHO} @dir ${EG_DATA}/backup >> ${PLIST}
+ @${ECHO} @dir ${EG_DATA} >> ${PLIST}
@${ECHO_CMD} '@group' >> ${PLIST}
@${ECHO_CMD} '@owner' >> ${PLIST}
+ @${ECHO_CMD} '@mode' >> ${PLIST}
do-install:
@${MKDIR} ${STAGEDIR}${EG_WWWDIR}
@${MKDIR} ${STAGEDIR}${EG_DATADIR}
@${MKDIR} ${STAGEDIR}${EG_DATADIR}/files
@${MKDIR} ${STAGEDIR}${EG_DATADIR}/backup
- @${ECHO_CMD} '@owner ${WWWOWN}' >> ${PLIST}
- @${ECHO_CMD} '@group ${WWWGRP}' >> ${PLIST}
- @${ECHO_CMD} '@mode 755' >> ${PLIST}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${EG_WWWDIR}
- @${ECHO_CMD} '@mode' >> ${PLIST}
- @${ECHO_CMD} '@group' >> ${PLIST}
- @${ECHO_CMD} '@owner' >> ${PLIST}
.include <bsd.port.mk>