summaryrefslogtreecommitdiff
path: root/net/danamics
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-07-05 19:01:41 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-07-05 19:01:41 +0000
commitb213c0c4e1c19f74ccdf31aca98dbcddcc2b5d14 (patch)
tree0755fd2cd27254b4bd8ea7982fedbcc1090b9341 /net/danamics
parentAdd the first part of "Concurrent Programming in Erlang", a book (diff)
Generate plist either statically or before do-install phase for
compatibility with upcoming bsd.port.mk patches. Submitted by: Sergey Matveychuk <sem@ciam.ru>
Notes
Notes: svn path=/head/; revision=84245
Diffstat (limited to 'net/danamics')
-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>