aboutsummaryrefslogtreecommitdiffstats
path: root/palm/ppmtoTbmp
diff options
context:
space:
mode:
authorskreuzer <skreuzer@FreeBSD.org>2014-06-19 21:34:47 +0800
committerskreuzer <skreuzer@FreeBSD.org>2014-06-19 21:34:47 +0800
commit557c34e747e54e578184cb1f9d88037900d61604 (patch)
tree0025be8cb1978238ac001285eb406fda1744dc24 /palm/ppmtoTbmp
parentcce48df01558bf0e5eae5ae8bfb2cba0d4ca10f6 (diff)
downloadfreebsd-ports-gnome-557c34e747e54e578184cb1f9d88037900d61604.tar.gz
freebsd-ports-gnome-557c34e747e54e578184cb1f9d88037900d61604.tar.zst
freebsd-ports-gnome-557c34e747e54e578184cb1f9d88037900d61604.zip
Convert to use new options framework
Diffstat (limited to 'palm/ppmtoTbmp')
-rw-r--r--palm/ppmtoTbmp/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/palm/ppmtoTbmp/Makefile b/palm/ppmtoTbmp/Makefile
index cfe4a2ae179f..841e4f9df968 100644
--- a/palm/ppmtoTbmp/Makefile
+++ b/palm/ppmtoTbmp/Makefile
@@ -18,10 +18,12 @@ MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" LDLIBS=-lnetpbm
post-patch:
@${REINPLACE_CMD} -e '/^#include "ppmcmap.h"/d' ${WRKSRC}/ppmtoTbmp.c
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ppmtoTbmp ${WRKSRC}/Tbmptopnm \
${STAGEDIR}${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif