1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Stage support

This commit is contained in:
Antoine Brodin 2014-01-22 21:59:32 +00:00
parent 850d498ee9
commit c01efe4972
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340737
2 changed files with 8 additions and 6 deletions

View File

@ -13,17 +13,17 @@ COMMENT= Combines multiples images to create a single customisable image
RUN_DEPENDS= ${LOCALBASE}/bin/ppmmake:${PORTSDIR}/graphics/netpbm \
${LOCALBASE}/bin/cjpeg:${PORTSDIR}/graphics/jpeg
MAN1= icontact.1 xvtoppm.1
USES= shebangfix
SHEBANG_FILES= icontact
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} "s|CC=cc|CC=${CC}|g; s|CFLAGS=-O|CFLAGS=${CFLAGS}|g" \
${WRKSRC}/Makefile
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/icontact ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/xvtoppm ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/icontact.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/xvtoppm.1 ${PREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/icontact ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/xvtoppm ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/icontact.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/xvtoppm.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -1,2 +1,4 @@
bin/icontact
bin/xvtoppm
man/man1/icontact.1.gz
man/man1/xvtoppm.1.gz