Date: Mon, 31 Dec 2012 14:14:55 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309746 - head/astro/pp3 Message-ID: <201212311414.qBVEEtap047641@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon Dec 31 14:14:55 2012 New Revision: 309746 URL: http://svnweb.freebsd.org/changeset/ports/309746 Log: Use PORT_OPTIONS for both EXAMPLES and DOCS Trim headers Modified: head/astro/pp3/Makefile Modified: head/astro/pp3/Makefile ============================================================================== --- head/astro/pp3/Makefile Mon Dec 31 14:12:01 2012 (r309745) +++ head/astro/pp3/Makefile Mon Dec 31 14:14:55 2012 (r309746) @@ -1,10 +1,5 @@ -# ex:ts=8 -# Ports collection makefile for: pp3 -# Date created: Dec 24, 2003 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= pp3 PORTVERSION= 1.3.3 @@ -19,6 +14,8 @@ RUN_DEPENDS= latex:${PORTSDIR}/print/teT USE_BZIP2= yes +.include <bsd.port.options.mk> + do-build: cd ${WRKSRC} \ && ${CXX} ${CXXFLAGS} -DPP3DATA=\"${DATADIR}\" pp3.cc -o pp3 @@ -27,12 +24,12 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pp3 ${PREFIX}/bin @${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/*.dat ${DATADIR} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${DOCSDIR} .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212311414.qBVEEtap047641>