From owner-svn-ports-all@FreeBSD.ORG Mon Dec 31 14:14:55 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB99C762; Mon, 31 Dec 2012 14:14:55 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id B07B68FC0A; Mon, 31 Dec 2012 14:14:55 +0000 (UTC) Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBVEEtDY047642; Mon, 31 Dec 2012 14:14:55 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBVEEtap047641; Mon, 31 Dec 2012 14:14:55 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201212311414.qBVEEtap047641@svn.freebsd.org> From: Baptiste Daroussin Date: Mon, 31 Dec 2012 14:14:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309746 - head/astro/pp3 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2012 14:14:55 -0000 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 + 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