aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Kreuzer <skreuzer@FreeBSD.org>2014-06-19 13:34:47 +0000
committerSteven Kreuzer <skreuzer@FreeBSD.org>2014-06-19 13:34:47 +0000
commit45dc322814a0ead6861267b520e69dafdee821b2 (patch)
tree0025be8cb1978238ac001285eb406fda1744dc24
parentc561e0ca9c5469b5909a740aea2f24b7e9fb535e (diff)
downloadports-45dc322814a0ead6861267b520e69dafdee821b2.tar.gz
ports-45dc322814a0ead6861267b520e69dafdee821b2.zip
Notes
-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