Date: Sun, 3 Feb 2013 23:23:41 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311518 - head/games/caph Message-ID: <201302032323.r13NNfZt084655@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sun Feb 3 23:23:40 2013 New Revision: 311518 URL: http://svnweb.freebsd.org/changeset/ports/311518 Log: - Trim header - OptionsNG Modified: head/games/caph/Makefile Modified: head/games/caph/Makefile ============================================================================== --- head/games/caph/Makefile Sun Feb 3 22:43:26 2013 (r311517) +++ head/games/caph/Makefile Sun Feb 3 23:23:40 2013 (r311518) @@ -1,9 +1,5 @@ -# New ports collection makefile for: caph -# Date created: 13 Sep 2010 -# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org> -# +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> # $FreeBSD$ -# PORTNAME= caph PORTVERSION= 1.1 @@ -34,11 +30,12 @@ DESKTOP_ENTRIES="Caph" \ "Game;LogicGame;" \ false -OPTIONS= OPTIMIZED_CFLAGS "Use optimized compiler flags" on +OPTIONS_DEFINE= OPTIMIZED_CFLAGS +OPTIONS_DEFAULT=OPTIMIZED_CFLAGS .include <bsd.port.options.mk> -.if !defined(WITHOUT_OPTIMIZED_CFLAGS) +.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CFLAGS+= -O3 -ffast-math .endif @@ -53,7 +50,7 @@ do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${PREFIX}/bin/ ${MKDIR} ${DATADIR} cd ${WRKSRC}/share/caph && ${COPYTREE_SHARE} '*' ${DATADIR} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} cd ${WRKSRC}/doc/caph && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302032323.r13NNfZt084655>