summaryrefslogtreecommitdiffstats
path: root/net/linux-edonkey-core
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-05-28 16:33:27 +0000
committerlioux <lioux@FreeBSD.org>2002-05-28 16:33:27 +0000
commitce8ec5674a406b715b4bf0cef4fb051cd4b41b4c (patch)
treeb08004a9c91e21a6ba843030256e2faea74c9c2a /net/linux-edonkey-core
parent085aae7bb8148d12d497978e073367205689e2aa (diff)
downloadFreeBSD-ports-ce8ec5674a406b715b4bf0cef4fb051cd4b41b4c.zip
FreeBSD-ports-ce8ec5674a406b715b4bf0cef4fb051cd4b41b4c.tar.gz
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 'net/linux-edonkey-core')
-rw-r--r--net/linux-edonkey-core/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/net/linux-edonkey-core/Makefile b/net/linux-edonkey-core/Makefile
index 14526c4..a29b56d 100644
--- a/net/linux-edonkey-core/Makefile
+++ b/net/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>
OpenPOWER on IntegriCloud