Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2014 22:43:06 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370238 - head/games/nethack34
Message-ID:  <201410062243.s96Mh6oP057423@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Oct  6 22:43:05 2014
New Revision: 370238
URL: https://svnweb.freebsd.org/changeset/ports/370238
QAT: https://qat.redports.org/buildarchive/r370238/

Log:
  Fix packaging

Modified:
  head/games/nethack34/Makefile
  head/games/nethack34/pkg-plist

Modified: head/games/nethack34/Makefile
==============================================================================
--- head/games/nethack34/Makefile	Mon Oct  6 22:39:57 2014	(r370237)
+++ head/games/nethack34/Makefile	Mon Oct  6 22:43:05 2014	(r370238)
@@ -105,6 +105,7 @@ pre-install:
 
 post-install:
 	@cd ${WRKSRC}/doc; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} manpages
+	@${MKDIR} ${STAGEDIR}${DATADIR}/save
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${STAGEDIR}${DOCSDIR}

Modified: head/games/nethack34/pkg-plist
==============================================================================
--- head/games/nethack34/pkg-plist	Mon Oct  6 22:39:57 2014	(r370237)
+++ head/games/nethack34/pkg-plist	Mon Oct  6 22:43:05 2014	(r370238)
@@ -154,9 +154,4 @@ man/man6/lev_comp.6.gz
 man/man6/%%HACKNAME%%.6.gz
 man/man6/recover.6.gz
 %%PORTDOCS%%%%DOCSDIR%%/Guidebook.txt
-@exec mkdir %D/%%DATADIR%%/save
-@exec chown games:games %D/%%DATADIR%%/save
-@exec chmod 0775 %D/%%DATADIR%%/save
-@unexec rmdir %D/%%DATADIR%%/save
-@dirrmtry %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dir(games,games,0775) %%DATADIR%%/save



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410062243.s96Mh6oP057423>