Date: Tue, 21 Jan 2014 20:06:34 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340648 - head/graphics/giftool Message-ID: <201401212006.s0LK6Y3C034775@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Tue Jan 21 20:06:33 2014 New Revision: 340648 URL: http://svnweb.freebsd.org/changeset/ports/340648 QAT: https://qat.redports.org/buildarchive/r340648/ Log: - Stage support - Use OPTIONS helpers Modified: head/graphics/giftool/Makefile Modified: head/graphics/giftool/Makefile ============================================================================== --- head/graphics/giftool/Makefile Tue Jan 21 20:02:18 2014 (r340647) +++ head/graphics/giftool/Makefile Tue Jan 21 20:06:33 2014 (r340648) @@ -9,7 +9,7 @@ DISTNAME= ${PORTNAME} EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org -COMMENT= A tool for GIF89a transparent option and interlace mode +COMMENT= Tool for GIF89a transparent option and interlace mode NO_CDROM= Shareware @@ -25,24 +25,12 @@ MALLOCSIZE_DESC= Improve malloc size PLIST_FILES= bin/${PORTNAME} PORTDOCS= COPYRIGHT README -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MRETVALUE} -EXTRA_PATCHES= ${PATCHDIR}/extra-patch-aa -.endif -.if ${PORT_OPTIONS:MMALLOCSIZE} -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ab -.endif +RETVALUE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-aa +MALLOCSIZE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ab do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/giftool ${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}) -.endif - -post-install: - @${CAT} ${PKGMESSAGE} + ${INSTALL_PROGRAM} ${WRKSRC}/giftool ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401212006.s0LK6Y3C034775>