summaryrefslogtreecommitdiff
path: root/net-p2p/linux-edonkey-tool-recovermet/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-05-28 16:33:27 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-05-28 16:33:27 +0000
commit389d318e31a745bf7362dc9ad602ef904568aebc (patch)
treed9821541b7b5bbd8da84eae4273c9e1ef42f7a3a /net-p2p/linux-edonkey-tool-recovermet/Makefile
parentUpdate 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
Diffstat (limited to '')
-rw-r--r--net-p2p/linux-edonkey-tool-recovermet/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/net-p2p/linux-edonkey-tool-recovermet/Makefile b/net-p2p/linux-edonkey-tool-recovermet/Makefile
index a5e3252bf68d..90520ee63983 100644
--- a/net-p2p/linux-edonkey-tool-recovermet/Makefile
+++ b/net-p2p/linux-edonkey-tool-recovermet/Makefile
@@ -35,13 +35,15 @@ BINARY_NAME= ${PORTNAME}${PKGNAMESUFFIX}
post-extract:
@${GZCAT} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > ${WRKSRC}/${BINARY_NAME}
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/bin
+
+.include <bsd.port.pre.mk>
+
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}/bin
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>