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

- Support staging

This commit is contained in:
Dmitry Marakasov 2013-10-29 02:03:55 +00:00
parent 0d08d9b1e5
commit a86fa562f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331921

View File

@ -9,19 +9,19 @@ MASTER_SITES= http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Probes JPEG or TIFF images and reports contents and structure
MAN1= exifgrep.1 exifprobe.1
PLIST_FILES= bin/exifgrep bin/exifprobe
PLIST_FILES= bin/exifgrep \
bin/exifprobe \
man/man1/exifgrep.1.gz \
man/man1/exifprobe.1.gz
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|cc|${CC}|; s|-DC|${CFLAGS} -DC|' \
${WRKSRC}/${MAKEFILE}
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/exifgrep ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/exifprobe ${PREFIX}/bin
.for i in ${MAN1}
@${INSTALL_MAN} ${WRKSRC}/${i} ${MAN1PREFIX}/man/man1
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/exifgrep ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/exifprobe ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/exifgrep.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/exifprobe.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
.include <bsd.port.mk>