From owner-svn-ports-all@FreeBSD.ORG Thu May 23 02:04:48 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6F680692; Thu, 23 May 2013 02:04:48 +0000 (UTC) (envelope-from amdmi3@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 609D58FE; Thu, 23 May 2013 02:04:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4N24mQx072718; Thu, 23 May 2013 02:04:48 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4N24kXT072708; Thu, 23 May 2013 02:04:46 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201305230204.r4N24kXT072708@svn.freebsd.org> From: Dmitry Marakasov Date: Thu, 23 May 2013 02:04:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318822 - in head: games/agame games/rezerwar games/sdl-ball games/volleyball mail/findmaildirs misc/metromap security/bruteblock 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: Thu, 23 May 2013 02:04:48 -0000 Author: amdmi3 Date: Thu May 23 02:04:46 2013 New Revision: 318822 URL: http://svnweb.freebsd.org/changeset/ports/318822 Log: - Trim Makefile header - OptionsNG Modified: head/games/agame/Makefile head/games/rezerwar/Makefile head/games/sdl-ball/Makefile head/games/volleyball/Makefile head/mail/findmaildirs/Makefile head/misc/metromap/Makefile head/security/bruteblock/Makefile Modified: head/games/agame/Makefile ============================================================================== --- head/games/agame/Makefile Thu May 23 02:04:07 2013 (r318821) +++ head/games/agame/Makefile Thu May 23 02:04:46 2013 (r318822) @@ -1,9 +1,5 @@ -# New ports collection makefile for: agame -# Date created: 30 Jul 2006 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= agame PORTVERSION= 1577 @@ -35,6 +31,8 @@ DESKTOP_ENTRIES="game" \ "Game;BlocksGame;" \ false +.include + post-patch: @${REINPLACE_CMD} -Ee 's,wav/|mp3/|img/,${DATADIR}/&,g' ${WRKSRC}/main.c @@ -45,7 +43,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/${dir}/* ${DATADIR}/${dir}/ .endfor -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} post-install: ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} Modified: head/games/rezerwar/Makefile ============================================================================== --- head/games/rezerwar/Makefile Thu May 23 02:04:07 2013 (r318821) +++ head/games/rezerwar/Makefile Thu May 23 02:04:46 2013 (r318822) @@ -1,9 +1,5 @@ -# New ports collection makefile for: rezerwar -# Date created: 09 Jul 2009 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= rezerwar PORTVERSION= 0.4.2 @@ -26,7 +22,9 @@ CONFIGURE_ENV= TARGET_BIN=${PREFIX}/bin PORTDOCS= * -.if defined(NOPORTDOCS) +.include + +.if ! ${PORT_OPTIONS:MDOCS} post-patch: @${REINPLACE_CMD} -e '/TARGET_DOC/ d' ${WRKSRC}/mkfiles/Makefile.main .endif Modified: head/games/sdl-ball/Makefile ============================================================================== --- head/games/sdl-ball/Makefile Thu May 23 02:04:07 2013 (r318821) +++ head/games/sdl-ball/Makefile Thu May 23 02:04:46 2013 (r318822) @@ -1,9 +1,5 @@ -# New ports collection makefile for: sdl-ball -# Date created: 22 Apr 2008 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= sdl-ball PORTVERSION= 1.01 @@ -23,11 +19,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME} PORTDOCS= * +.include + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sdl-ball ${PREFIX}/bin/ ${MKDIR} ${DATADIR} cd ${WRKSRC}/themes && ${COPYTREE_SHARE} . ${DATADIR}/ -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ .endif Modified: head/games/volleyball/Makefile ============================================================================== --- head/games/volleyball/Makefile Thu May 23 02:04:07 2013 (r318821) +++ head/games/volleyball/Makefile Thu May 23 02:04:46 2013 (r318822) @@ -1,9 +1,5 @@ -# New ports collection makefile for: volleyball -# Date created: 09 Oct 2005 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= volleyball PORTVERSION= 0.8.6 @@ -37,6 +33,8 @@ DESKTOP_ENTRIES="Pocket Volleyball" \ "Game;SportsGame;ArcadeGame;" \ false +.include + post-configure: cd ${WRKDIR}/${PORTNAME}-data-${DATAVERSION} && \ ${SETENV} ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} @@ -45,7 +43,7 @@ post-install: cd ${WRKDIR}/${PORTNAME}-data-${DATAVERSION} && \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ Modified: head/mail/findmaildirs/Makefile ============================================================================== --- head/mail/findmaildirs/Makefile Thu May 23 02:04:07 2013 (r318821) +++ head/mail/findmaildirs/Makefile Thu May 23 02:04:46 2013 (r318822) @@ -1,9 +1,5 @@ -# New ports collection makefile for: findmaildirs -# Date created: 24 Feb 2012 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= findmaildirs PORTVERSION= 0.1 @@ -18,7 +14,9 @@ PLIST_FILES= bin/${PORTNAME} PORTDOCS= README -.if !defined(NOPORTDOCS) +.include + +.if ${PORT_OPTIONS:MDOCS} post-install: ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ Modified: head/misc/metromap/Makefile ============================================================================== --- head/misc/metromap/Makefile Thu May 23 02:04:07 2013 (r318821) +++ head/misc/metromap/Makefile Thu May 23 02:04:46 2013 (r318822) @@ -1,9 +1,5 @@ -# New ports collection makefile for: metromap -# Date created: 2005-07-01 -# Whom: Vsevolod Stakhov -# +# Created by: Vsevolod Stakhov # $FreeBSD$ -# PORTNAME= metromap PORTVERSION= 0.1.4 @@ -26,13 +22,15 @@ USES= gettext PORTDOCS= AUTHORS NEWS README README.data TODO +.include + post-patch: @${REINPLACE_CMD} -e 's,/usr,${PREFIX},' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's,make,${GMAKE},' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's,/usr/bin/python,${SETENV} python,' ${WRKSRC}/metromap.py @${RM} -f ${WRKSRC}/modules/ReadMap.py.orig -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} post-install: ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} Modified: head/security/bruteblock/Makefile ============================================================================== --- head/security/bruteblock/Makefile Thu May 23 02:04:07 2013 (r318821) +++ head/security/bruteblock/Makefile Thu May 23 02:04:46 2013 (r318822) @@ -1,9 +1,5 @@ -# New ports collection makefile for: bruteblock -# Date created: 30 Jul 2006 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= bruteblock PORTVERSION= 0.0.5 @@ -28,6 +24,8 @@ CONFDIR= ${PREFIX}/etc/${PORTNAME} PORTDOCS= FAQ README CHANGES +.include + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bruteblock ${PREFIX}/sbin/ ${INSTALL_PROGRAM} ${WRKSRC}/bruteblockd ${PREFIX}/sbin/ @@ -39,7 +37,7 @@ do-install: fi .endfor ${INSTALL_MAN} ${WRKSRC}/doc/bruteblock.8 ${PREFIX}/man/man8/ -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${DOCSDIR}/ @${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCSDIR}/ @@ -47,8 +45,6 @@ do-install: .endif post-install: -.if !defined(BATCH) @${CAT} ${PKGMESSAGE} -.endif .include