summaryrefslogtreecommitdiff
path: root/net/danamics/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/danamics/Makefile')
-rw-r--r--net/danamics/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/net/danamics/Makefile b/net/danamics/Makefile
index d06140b0527a..245fdfd3a655 100644
--- a/net/danamics/Makefile
+++ b/net/danamics/Makefile
@@ -24,20 +24,20 @@ PLIST= ${WRKDIR}/plist
SORT?= /usr/bin/sort
+pre-install:
+ cd ${WRKSRC}; ${FIND} . -type f \
+ | ${SORT} | ${SED} -e 's|^\.|danamics|' >${PLIST}
+ cd ${WRKSRC}; ${FIND} . -type d \
+ | ${SORT} -r | ${SED} -e 's|^\.|@dirrm danamics|' >>${PLIST}
+ ${ECHO} bin/danamics >>${PLIST}
+
do-install:
${MKDIR} ${PREFIX}/danamics
${CP} -R ${WRKSRC}/* ${PREFIX}/danamics
- cd ${PREFIX}; ${FIND} danamics -type f \
- | ${SORT} >${PLIST}
- cd ${PREFIX}; ${FIND} danamics -type d \
- | ${SORT} -r | ${SED} -e 's|^|@dirrm |' >>${PLIST}
-
${SED} \
-e s,%%PREFIX%%,${PREFIX},g \
< ${FILESDIR}/danamics.sh > ${PREFIX}/bin/danamics; \
${CHMOD} a+x ${PREFIX}/bin/danamics
- ${ECHO} bin/danamics >>${PLIST}
-
.include <bsd.port.post.mk>