diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-05-28 16:33:27 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-05-28 16:33:27 +0000 |
commit | 389d318e31a745bf7362dc9ad602ef904568aebc (patch) | |
tree | d9821541b7b5bbd8da84eae4273c9e1ef42f7a3a /net/linux-edonkey-server | |
parent | c58996b202c05c8a5a420e0220aed6ff2b8153d7 (diff) | |
download | ports-389d318e31a745bf7362dc9ad602ef904568aebc.tar.gz ports-389d318e31a745bf7362dc9ad602ef904568aebc.zip |
Notes
Diffstat (limited to 'net/linux-edonkey-server')
-rw-r--r-- | net/linux-edonkey-server/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/net/linux-edonkey-server/Makefile b/net/linux-edonkey-server/Makefile index bdea5750e4a8..48bbcf85e5b3 100644 --- a/net/linux-edonkey-server/Makefile +++ b/net/linux-edonkey-server/Makefile @@ -44,12 +44,6 @@ post-patch: -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${FILESDIR}/${RC_SAMPLE} \ > ${WRKDIR}/${RC_SAMPLE} -pre-install: -.if exists(${STRIP_CMD}) -# @${STRIP_CMD} ${WRKSRC}/${BINARY_NAME} -.endif - @${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME} - do-install: # pre-install work: create user ids, ... @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \ @@ -58,4 +52,12 @@ do-install: @${INSTALL_SCRIPT} ${WRKSRC}/${RC_SAMPLE} ${PREFIX}/etc/rc.d @${INSTALL_DATA} ${FILESDIR}/donkey.ini ${PREFIX}/etc/edonkey2000 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +pre-install: +.if exists(${STRIP_CMD}) + @${STRIP_CMD} ${WRKSRC}/${BINARY_NAME} +.endif + @${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME} + +.include <bsd.port.post.mk> |