summaryrefslogtreecommitdiff
path: root/deskutils/egroupware/Makefile
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-11-13 14:32:39 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-11-13 14:32:39 +0000
commit1ef6c2804f185fadc52954b7749ee3cf0c5ba5bd (patch)
tree22a87d3317beee8f02c7861d098cdd324706acc8 /deskutils/egroupware/Makefile
parent2c6ccacf072eec2e4c8e84910b70d7ac40e99798 (diff)
downloadfreebsd-ports-1ef6c2804f185fadc52954b7749ee3cf0c5ba5bd.zip
Cleanup plist
Diffstat (limited to 'deskutils/egroupware/Makefile')
-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>