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-p2p/linux-edonkey-core | |
parent | Update to 0.5.16. (diff) |
After update of linux_base to 7.1 in rev 1.60, correct detection
of strip tool since it is not part of 7.1
Notes
Notes:
svn path=/head/; revision=60205
Diffstat (limited to 'net-p2p/linux-edonkey-core')
-rw-r--r-- | net-p2p/linux-edonkey-core/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/net-p2p/linux-edonkey-core/Makefile b/net-p2p/linux-edonkey-core/Makefile index 14526c4fb076..a29b56d3d6a7 100644 --- a/net-p2p/linux-edonkey-core/Makefile +++ b/net-p2p/linux-edonkey-core/Makefile @@ -40,12 +40,6 @@ post-patch: @${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/wrapper.sh > \ ${WRKDIR}/wrapper.sh -pre-install: -.if exists(${STRIP_CMD}) - @${STRIP_CMD} ${WRKSRC}/${BINARY_NAME} -.endif - @${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME} - do-install: @${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/sbin/${BINARY_NAME}-real @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${BINARY_NAME} @@ -55,4 +49,12 @@ do-install: .endif @${SED} s!/usr/local/share/doc/edonkey-core!${DOCSDIR}${PKGNAMESUFFIX}! ${PKGMESSAGE} -.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> |