diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-01-21 20:06:33 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-01-21 20:06:33 +0000 |
commit | 2a6c55b1d26af8cf8fc9c50fedb7dd8c0a0b8d4b (patch) | |
tree | eeba3c31fc8a00e4cf9dbf5aa3d0c637bf573b64 /graphics/giftool | |
parent | bd537b54877deae6e0bfb14e2339ac334812e075 (diff) | |
download | ports-2a6c55b1d26af8cf8fc9c50fedb7dd8c0a0b8d4b.tar.gz ports-2a6c55b1d26af8cf8fc9c50fedb7dd8c0a0b8d4b.zip |
- Stage support
- Use OPTIONS helpers
Notes
Notes:
svn path=/head/; revision=340648
Diffstat (limited to 'graphics/giftool')
-rw-r--r-- | graphics/giftool/Makefile | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/graphics/giftool/Makefile b/graphics/giftool/Makefile index cb55f72ed080..146bc2d7d378 100644 --- a/graphics/giftool/Makefile +++ b/graphics/giftool/Makefile @@ -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> |