From 45dc322814a0ead6861267b520e69dafdee821b2 Mon Sep 17 00:00:00 2001 From: Steven Kreuzer Date: Thu, 19 Jun 2014 13:34:47 +0000 Subject: Convert to use new options framework --- palm/ppmtoTbmp/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 + 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 -- cgit v1.2.3