1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2014-01-05 00:03:49 +00:00
parent c5965b6a01
commit d5204fb557
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338700

View File

@ -10,17 +10,16 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= onatan@gmail.com
COMMENT= Preprocessor for lossy data compression
NO_STAGE= yes
ALL_TARGET= ${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
post-patch:
@${REINPLACE_CMD} 's|gcc|${CC}|' ${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>