Date: Thu, 21 Nov 2013 23:12:31 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334537 - head/graphics/jhead Message-ID: <201311212312.rALNCVIH003275@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Nov 21 23:12:31 2013 New Revision: 334537 URL: http://svnweb.freebsd.org/changeset/ports/334537 Log: - Add my LOCAL to MASTER_SITES - Support STAGEDIR - Cosmetic change Modified: head/graphics/jhead/Makefile Modified: head/graphics/jhead/Makefile ============================================================================== --- head/graphics/jhead/Makefile Thu Nov 21 23:12:27 2013 (r334536) +++ head/graphics/jhead/Makefile Thu Nov 21 23:12:31 2013 (r334537) @@ -4,33 +4,29 @@ PORTNAME= jhead PORTVERSION= 2.97 CATEGORIES= graphics -MASTER_SITES= http://www.sentex.net/~mwandel/jhead/ +MASTER_SITES= http://www.sentex.net/~mwandel/${PORTNAME}/ \ + LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= EXIF JPEG header manipulation tool -RUN_DEPENDS= jpegtran:${PORTSDIR}/graphics/jpeg +RUN_DEPENDS= ${LOCALBASE}/bin/jpegtran:${PORTSDIR}/graphics/jpeg OPTIONS_DEFINE= DOCS MAKEFILE= makefile -MAN1= jhead.1 -PLIST_FILES= bin/jhead +PLIST_FILES= bin/${PORTNAME} \ + man/man1/${PORTNAME}.1.gz PORTDOCS= usage.html -NO_STAGE= yes -.include <bsd.port.options.mk> - post-patch: - @${REINPLACE_CMD} -e '/^CFLAGS=/d' ${WRKSRC}/makefile + @${REINPLACE_CMD} -e '/^CFLAGS=/d' ${WRKSRC}/${MAKEFILE} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/jhead ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/jhead.1 ${PREFIX}/man/man1/ -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/usage.html ${DOCSDIR}/ -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/ + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311212312.rALNCVIH003275>