Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2014 22:54:24 +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: r370241 - head/games/nethack33
Message-ID:  <201410062254.s96MsOJH062672@svn.freebsd.org>

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

Log:
  Fix packaging

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

Modified: head/games/nethack33/Makefile
==============================================================================
--- head/games/nethack33/Makefile	Mon Oct  6 22:53:47 2014	(r370240)
+++ head/games/nethack33/Makefile	Mon Oct  6 22:54:24 2014	(r370241)
@@ -99,6 +99,7 @@ post-install:
 	@${LN} -s -f ${PREFIX}/bin/${HACKNAME} ${STAGEDIR}${PREFIX}/bin/${HACKLINK}
 .endif
 	@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/nethack33/pkg-plist
==============================================================================
--- head/games/nethack33/pkg-plist	Mon Oct  6 22:53:47 2014	(r370240)
+++ head/games/nethack33/pkg-plist	Mon Oct  6 22:54:24 2014	(r370241)
@@ -149,9 +149,4 @@ man/man6/lev_comp%%HACKEXT%%.6.gz
 man/man6/%%HACKNAME%%.6.gz
 man/man6/recover%%HACKEXT%%.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?201410062254.s96MsOJH062672>