diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-07-05 19:01:41 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-07-05 19:01:41 +0000 |
commit | b213c0c4e1c19f74ccdf31aca98dbcddcc2b5d14 (patch) | |
tree | 0755fd2cd27254b4bd8ea7982fedbcc1090b9341 /net/danamics | |
parent | 14a6960fa40f1d571cb42fd8ed92966d274824c3 (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/Makefile | 14 |
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> |