From f6dbeb2e3579ec67d0731a37818e0dddd6737156 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 26 Dec 2013 16:53:14 +0000 Subject: [PATCH] Support stage --- archivers/upx/Makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/archivers/upx/Makefile b/archivers/upx/Makefile index b3f2ff68eb4e..6b8b25021b80 100644 --- a/archivers/upx/Makefile +++ b/archivers/upx/Makefile @@ -14,7 +14,6 @@ COMMENT= The Ultimate Packer for eXecutables LIB_DEPENDS= libucl.so:${PORTSDIR}/archivers/ucl -NO_STAGE= yes LZMA_VER= 4.65 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src USE_BZIP2= yes @@ -27,15 +26,13 @@ NOT_FOR_ARCHS= sparc64 PORTDOCS= BUGS COPYING LICENSE NEWS PROJECTS README\ README.1ST README.SRC THANKS TODO -MAN1= upx.1 -PLIST_FILES= bin/upx +PLIST_FILES= bin/upx \ + man/man1/upx.1.gz do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/src/upx.out ${PREFIX}/bin/upx - @${INSTALL_MAN} ${WRKSRC}/doc/upx.1 ${MANPREFIX}/man/man1 -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ -.endif + @${INSTALL_PROGRAM} ${WRKSRC}/src/upx.out ${STAGEDIR}${PREFIX}/bin/upx + @${INSTALL_MAN} ${WRKSRC}/doc/upx.1 ${STAGEDIR}${MANPREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ .include