From owner-svn-ports-all@FreeBSD.ORG Sun Dec 7 13:36:53 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DB675838; Sun, 7 Dec 2014 13:36:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C7C59230; Sun, 7 Dec 2014 13:36:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sB7DartW002498; Sun, 7 Dec 2014 13:36:53 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sB7DarWi002497; Sun, 7 Dec 2014 13:36:53 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201412071336.sB7DarWi002497@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 7 Dec 2014 13:36:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r374196 - head/games/noegnud-addons 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.18-1 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: Sun, 07 Dec 2014 13:36:54 -0000 Author: amdmi3 Date: Sun Dec 7 13:36:53 2014 New Revision: 374196 URL: https://svnweb.freebsd.org/changeset/ports/374196 QAT: https://qat.redports.org/buildarchive/r374196/ Log: - Simplify plist generation - Add NO_ARCH - Cosmetic fix on empty variable Modified: head/games/noegnud-addons/Makefile Modified: head/games/noegnud-addons/Makefile ============================================================================== --- head/games/noegnud-addons/Makefile Sun Dec 7 13:36:47 2014 (r374195) +++ head/games/noegnud-addons/Makefile Sun Dec 7 13:36:53 2014 (r374196) @@ -13,7 +13,9 @@ COMMENT= Addons (tilesets and sound them USES= tar:bzip2 NO_BUILD= yes -PLIST= ${WRKDIR}/pkg-plist +NO_ARCH= yes +DATADIR= ${PREFIX}/share/${PORTNAME}-${PORTVERSION} +PORTDATA= * OPTIONS_DEFINE= ABSURD ITAKURA ITAKURA ABIGABI GEODUCK LAGGED AOKI \ TFALCONSEYE NHS SFALCONSEYE @@ -42,15 +44,10 @@ OPTIONS_DEFAULT= ABSURD .include .if ! ${PORT_OPTIONS:MABSURD} -DISTFILES= +DISTFILES= # empty .endif -pre-install: - @${TOUCH} ${PLIST} - @(cd ${WRKDIR} && ${FIND} ${DISTNAME} \! -type d) | ${SORT} | ${SED} -e 's:^:share/:' > ${PLIST} - @(cd ${WRKDIR} && ${FIND} ${DISTNAME} -type d) | ${SORT} -r | ${SED} -e 's:^:@unexec rmdir %D/share/:' | ${SED} -e 's:$$: 2>/dev/null || true:' >> ${PLIST} - do-install: - ${CP} -R ${WRKSRC} ${STAGEDIR}${PREFIX}/share + cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ .include