svn commit: r358415 - head/palm/ppmtoTbmp
Steven Kreuzer
skreuzer at FreeBSD.org
Thu Jun 19 13:34:48 UTC 2014
Author: skreuzer
Date: Thu Jun 19 13:34:47 2014
New Revision: 358415
URL: http://svnweb.freebsd.org/changeset/ports/358415
QAT: https://qat.redports.org/buildarchive/r358415/
Log:
Convert to use new options framework
Modified:
head/palm/ppmtoTbmp/Makefile
Modified: head/palm/ppmtoTbmp/Makefile
==============================================================================
--- head/palm/ppmtoTbmp/Makefile Thu Jun 19 13:27:51 2014 (r358414)
+++ head/palm/ppmtoTbmp/Makefile Thu Jun 19 13:34:47 2014 (r358415)
@@ -18,10 +18,12 @@ MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBA
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
More information about the svn-ports-head
mailing list