diff options
Diffstat (limited to 'net/edonkey-gui-gtk/Makefile')
-rw-r--r-- | net/edonkey-gui-gtk/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/net/edonkey-gui-gtk/Makefile b/net/edonkey-gui-gtk/Makefile index 59b8509..2eec439 100644 --- a/net/edonkey-gui-gtk/Makefile +++ b/net/edonkey-gui-gtk/Makefile @@ -40,12 +40,6 @@ post-patch: s|%%DATAFILES%%|${DATA_FILES}|" \ ${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: .ifndef(NOPORTDOCS) ${MKDIR} ${DOCSDIR} @@ -58,4 +52,12 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/bin/${BINARY_NAME}-real ${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${BINARY_NAME} -.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> |