aboutsummaryrefslogtreecommitdiff
path: root/games/lgeneral
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-10-29 19:57:26 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-10-29 19:57:26 +0000
commit69b53caa2a162c83daafe79bde24a5a6c69549a9 (patch)
treeee519897317ced609b61b733b513a6b130a3ea7b /games/lgeneral
parentb697391e515b15a5a3c373f84059a604dd45d641 (diff)
downloadports-69b53caa2a162c83daafe79bde24a5a6c69549a9.tar.gz
ports-69b53caa2a162c83daafe79bde24a5a6c69549a9.zip
Notes
Diffstat (limited to 'games/lgeneral')
-rw-r--r--games/lgeneral/Makefile5
-rw-r--r--games/lgeneral/pkg-plist26
2 files changed, 1 insertions, 30 deletions
diff --git a/games/lgeneral/Makefile b/games/lgeneral/Makefile
index bccac07cdde8..0a51c9bc6f6a 100644
--- a/games/lgeneral/Makefile
+++ b/games/lgeneral/Makefile
@@ -46,8 +46,6 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
-.include <bsd.port.pre.mk>
-
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
BROKEN= Does not install on ia64, powerpc, or sparc64
.endif
@@ -57,7 +55,6 @@ post-patch:
post-install:
${STAGEDIR}${PREFIX}/bin/lgc-pg -s ${WRKDIR}/pg-data -d ${STAGEDIR}${DATADIR}
- @${FIND} ${STAGEDIR}${DATADIR} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
@${FIND} ${STAGEDIR}${DATADIR} -type d | ${XARGS} ${CHMOD} a+rx
@${FIND} ${STAGEDIR}${DATADIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
.if ${PORT_OPTIONS:MDOCS}
@@ -65,4 +62,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/README.* ${STAGEDIR}${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/lgeneral/pkg-plist b/games/lgeneral/pkg-plist
index d8615a689c50..bc4bd64ce61e 100644
--- a/games/lgeneral/pkg-plist
+++ b/games/lgeneral/pkg-plist
@@ -216,29 +216,3 @@ share/applications/lgeneral.desktop
%%NLS%%share/locale/en/LC_MESSAGES/lgeneral.mo
%%NLS%%share/locale/en/LC_MESSAGES/pg.mo
share/pixmaps/lgeneral48.png
-@dirrm %%DATADIR%%/units
-@dirrm %%DATADIR%%/themes/default
-@dirrm %%DATADIR%%/themes
-@dirrm %%DATADIR%%/terrain
-@dirrm %%DATADIR%%/sounds/pg
-@dirrm %%DATADIR%%/sounds
-@dirrm %%DATADIR%%/scenarios/pg
-@dirrm %%DATADIR%%/scenarios
-@dirrm %%DATADIR%%/nations
-@dirrm %%DATADIR%%/music
-@dirrm %%DATADIR%%/maps/pg
-@dirrm %%DATADIR%%/maps
-@dirrm %%DATADIR%%/gfx/units
-@dirrm %%DATADIR%%/gfx/terrain/pg
-@dirrm %%DATADIR%%/gfx/terrain
-@dirrm %%DATADIR%%/gfx/flags
-@dirrm %%DATADIR%%/gfx
-@dirrm %%DATADIR%%/convdata
-@dirrm %%DATADIR%%/campaigns
-@dirrm %%DATADIR%%/ai_modules
-@dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@exec mkdir -p %D/share/lgeneral/gfx/terrain/pg
-@exec mkdir -p %D/share/lgeneral/maps/pg
-@exec mkdir -p %D/share/lgeneral/scenarios/pg
-@exec mkdir -p %D/share/lgeneral/sounds/pg