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

- Add my LOCAL to MASTER_SITES

- Support STAGEDIR
- Cosmetic change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-11-21 23:12:31 +00:00
parent 31aebd4eb2
commit e2f62b4825
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334537

View File

@ -4,33 +4,29 @@
PORTNAME= jhead PORTNAME= jhead
PORTVERSION= 2.97 PORTVERSION= 2.97
CATEGORIES= graphics CATEGORIES= graphics
MASTER_SITES= http://www.sentex.net/~mwandel/jhead/ MASTER_SITES= http://www.sentex.net/~mwandel/${PORTNAME}/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org MAINTAINER= sunpoet@FreeBSD.org
COMMENT= EXIF JPEG header manipulation tool COMMENT= EXIF JPEG header manipulation tool
RUN_DEPENDS= jpegtran:${PORTSDIR}/graphics/jpeg RUN_DEPENDS= ${LOCALBASE}/bin/jpegtran:${PORTSDIR}/graphics/jpeg
OPTIONS_DEFINE= DOCS OPTIONS_DEFINE= DOCS
MAKEFILE= makefile MAKEFILE= makefile
MAN1= jhead.1 PLIST_FILES= bin/${PORTNAME} \
PLIST_FILES= bin/jhead man/man1/${PORTNAME}.1.gz
PORTDOCS= usage.html PORTDOCS= usage.html
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch: post-patch:
@${REINPLACE_CMD} -e '/^CFLAGS=/d' ${WRKSRC}/makefile @${REINPLACE_CMD} -e '/^CFLAGS=/d' ${WRKSRC}/${MAKEFILE}
do-install: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jhead ${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/jhead.1 ${PREFIX}/man/man1/ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/
.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR}/
${MKDIR} ${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/usage.html ${DOCSDIR}/
.endif
.include <bsd.port.mk> .include <bsd.port.mk>