Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2014 13:34:47 +0000 (UTC)
From:      Steven Kreuzer <skreuzer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r358415 - head/palm/ppmtoTbmp
Message-ID:  <201406191334.s5JDYlF6040536@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406191334.s5JDYlF6040536>