summaryrefslogtreecommitdiffstats
path: root/misc/edonkey-tool-recovermet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/edonkey-tool-recovermet/Makefile')
-rw-r--r--misc/edonkey-tool-recovermet/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/misc/edonkey-tool-recovermet/Makefile b/misc/edonkey-tool-recovermet/Makefile
index a5e3252..90520ee 100644
--- a/misc/edonkey-tool-recovermet/Makefile
+++ b/misc/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>
OpenPOWER on IntegriCloud