From owner-svn-ports-head@FreeBSD.ORG Mon Aug 27 17:39:53 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 2668C106566B; Mon, 27 Aug 2012 17:39:53 +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 11B5B8FC1C; Mon, 27 Aug 2012 17:39:53 +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 q7RHdqY5032405; Mon, 27 Aug 2012 17:39:52 GMT (envelope-from jgh@svn.freebsd.org) Received: (from jgh@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7RHdqFB032403; Mon, 27 Aug 2012 17:39:52 GMT (envelope-from jgh@svn.freebsd.org) Message-Id: <201208271739.q7RHdqFB032403@svn.freebsd.org> From: Jason Helfman Date: Mon, 27 Aug 2012 17:39:52 +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: r303236 - head/games/simsu 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: Mon, 27 Aug 2012 17:39:53 -0000 Author: jgh Date: Mon Aug 27 17:39:52 2012 New Revision: 303236 URL: http://svn.freebsd.org/changeset/ports/303236 Log: - port requires data - adopt optionsNG for DOCS - move from cp to install_data for icons - drop INSTALL doc from PORTDOCS PR: 170742 Submitted by: maintainer, nemysis@gmx.ch Modified: head/games/simsu/Makefile (contents, props changed) Modified: head/games/simsu/Makefile ============================================================================== --- head/games/simsu/Makefile Mon Aug 27 16:59:42 2012 (r303235) +++ head/games/simsu/Makefile Mon Aug 27 17:39:52 2012 (r303236) @@ -7,6 +7,7 @@ PORTNAME= simsu PORTVERSION= 1.2.2 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://gottcode.org/${PORTNAME}/ EXTRACT_SUFX= -src.tar.bz2 @@ -32,29 +33,31 @@ USE_GMAKE= yes MAKE_JOBS_SAFE= yes PORTDATA= * -PORTDOCS= CREDITS ChangeLog INSTALL +PORTDOCS= CREDITS ChangeLog + +.include do-install: # Executable ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin +# Data + ${MKDIR} ${DATADIR} + @(cd ${WRKSRC} && ${COPYTREE_SHARE} "symmetry translations" ${DATADIR}) + # Icons - ${CP} -R ${WRKSRC}/icons/hicolor ${PREFIX}/share/icons/ + ${MKDIR} ${PREFIX}/share/icons/hicolor +.for d in incons + @(cd ${WRKSRC}/${d} && ${COPYTREE_SHARE} hicolor ${PREFIX}/share/icons/) +.endfor # Pixmaps and Desktop ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}_32.xpm ${PREFIX}/share/pixmaps/ ${MKDIR} ${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.desktop ${PREFIX}/share/applications/ -post-install: -# Data -.if !defined (NOPORTDATA) - ${MKDIR} ${DATADIR} - @(cd ${WRKSRC} && ${COPYTREE_SHARE} "symmetry translations" ${DATADIR}) -.endif - -# Documentations -.if !defined(NOPORTDOCS) +# Documentation +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} . for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}