From owner-svn-ports-head@FreeBSD.ORG Sat Aug 25 06:42:59 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9835D106564A; Sat, 25 Aug 2012 06:42:59 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8396A8FC08; Sat, 25 Aug 2012 06:42:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7P6gxc1092661; Sat, 25 Aug 2012 06:42:59 GMT (envelope-from jgh@svn.freebsd.org) Received: (from jgh@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7P6gxgq092659; Sat, 25 Aug 2012 06:42:59 GMT (envelope-from jgh@svn.freebsd.org) Message-Id: <201208250642.q7P6gxgq092659@svn.freebsd.org> From: Jason Helfman Date: Sat, 25 Aug 2012 06:42:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303119 - head/games/tanglet X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Aug 2012 06:42:59 -0000 Author: jgh Date: Sat Aug 25 06:42:58 2012 New Revision: 303119 URL: http://svn.freebsd.org/changeset/ports/303119 Log: - port requires data - remove INSTALL file from PORTDOCS - adopt optionsNG for DOCS PR: 170745 Submitted by: maintainer, nemysis@gmx.ch Modified: head/games/tanglet/Makefile (contents, props changed) Modified: head/games/tanglet/Makefile ============================================================================== --- head/games/tanglet/Makefile Sat Aug 25 06:28:54 2012 (r303118) +++ head/games/tanglet/Makefile Sat Aug 25 06:42:58 2012 (r303119) @@ -7,6 +7,7 @@ PORTNAME= tanglet PORTVERSION= 1.2.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://gottcode.org/${PORTNAME}/ EXTRACT_SUFX= -src.tar.bz2 @@ -23,7 +24,9 @@ INSTALLS_ICONS= yes MAKE_JOBS_SAFE= yes PORTDATA= * -PORTDOCS= CREDITS ChangeLog INSTALL +PORTDOCS= CREDITS ChangeLog + +.include do-configure: @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ @@ -33,6 +36,9 @@ do-install: # Executable ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin +# Data + @(cd ${WRKSRC} && ${COPYTREE_SHARE} "data translations" ${DATADIR}) + # Icons cd ${WRKSRC}/icons && ${FIND} hicolor -type d -name apps -exec \ ${MKDIR} ${PREFIX}/share/icons/{} \; @@ -44,13 +50,8 @@ do-install: ${MKDIR} ${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.desktop ${PREFIX}/share/applications/ -# Data -.if !defined(NOPORTDATA) - @(cd ${WRKSRC} && ${COPYTREE_SHARE} "data translations" ${DATADIR}) -.endif - # Documentation -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} . for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}