1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2013-12-26 16:53:14 +00:00
parent 4229ae707c
commit f6dbeb2e35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337555

View File

@ -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 <bsd.port.mk>