diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2017-06-30 23:24:10 +0800 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2017-06-30 23:24:10 +0800 |
commit | b3480d38532fd9d0fd1474b7a917f871a799ba49 (patch) | |
tree | 23294206455d5aee79fb632e6a0c408dd2497187 | |
parent | 834d2ea409715139927f33bd53d1a7f8ee351c5a (diff) | |
download | freebsd-ports-gnome-b3480d38532fd9d0fd1474b7a917f871a799ba49.tar.gz freebsd-ports-gnome-b3480d38532fd9d0fd1474b7a917f871a799ba49.tar.zst freebsd-ports-gnome-b3480d38532fd9d0fd1474b7a917f871a799ba49.zip |
Update games/lgeneral to 1.3.2
-rw-r--r-- | games/lgeneral/Makefile | 15 | ||||
-rw-r--r-- | games/lgeneral/distinfo | 5 | ||||
-rw-r--r-- | games/lgeneral/pkg-plist | 2 |
3 files changed, 10 insertions, 12 deletions
diff --git a/games/lgeneral/Makefile b/games/lgeneral/Makefile index 49e1a02c0867..5cd9c2cb0b01 100644 --- a/games/lgeneral/Makefile +++ b/games/lgeneral/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= lgeneral -PORTVERSION= 1.3.1 -PORTREVISION= 1 +PORTVERSION= 1.3.2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME} \ SF/${PORTNAME}/${PORTNAME}-data:data @@ -19,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_powerpc= does not install BROKEN_sparc64= does not install -USES= gmake localbase +USES= autoreconf gettext-tools gmake localbase USE_CSTD= gnu89 USE_SDL= sdl GNU_CONFIGURE= yes @@ -28,20 +27,18 @@ OPTIONS_DEFINE= DOCS NLS SOUND OPTIONS_DEFAULT= SOUND OPTIONS_SUB= yes -NLS_USES= gettext +NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls NLS_CONFIGURE_ENV_OFF= am_cv_func_iconv=no SOUND_USE= sdl=mixer SOUND_CONFIGURE_OFF= --disable-sound post-patch: - @${REINPLACE_CMD} -e 's|/icons.*|/pixmaps|' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|' ${WRKSRC}/configure - -post-install: .for i in flags terrain units - @${MKDIR} ${STAGEDIR}${DATADIR}/gfx/${i} + @${REINPLACE_CMD} -e 's|$$(${i}dir)|$$(DESTDIR)/&|' ${WRKSRC}/src/gfx/${i}/Makefile.am .endfor + +post-install: ${SETENV} DISPLAY= \ ${STAGEDIR}${PREFIX}/bin/lgc-pg --separate-bridges \ -s ${WRKDIR}/pg-data \ diff --git a/games/lgeneral/distinfo b/games/lgeneral/distinfo index 7eac1a8aed53..2b1b5cbba532 100644 --- a/games/lgeneral/distinfo +++ b/games/lgeneral/distinfo @@ -1,4 +1,5 @@ -SHA256 (lgeneral-1.3.1.tar.gz) = 6e95a84d7772f0bd2d64edac8c2aa45c6f750ae47bfb9dc203fe53a089e5562c -SIZE (lgeneral-1.3.1.tar.gz) = 1678892 +TIMESTAMP = 1498740389 +SHA256 (lgeneral-1.3.2.tar.gz) = 51b9baf8889146d078f04d32ec6652e09e2db1cbc7674b8602d3c58ae8699996 +SIZE (lgeneral-1.3.2.tar.gz) = 1691432 SHA256 (pg-data.tar.gz) = cc6fa5d263d1d5824d706517958b1bb09b405ba0ed21e63e4a4d38e2727d7a04 SIZE (pg-data.tar.gz) = 410476 diff --git a/games/lgeneral/pkg-plist b/games/lgeneral/pkg-plist index 5f1fa04c21c7..3a3f1e42063e 100644 --- a/games/lgeneral/pkg-plist +++ b/games/lgeneral/pkg-plist @@ -6,6 +6,7 @@ bin/shptool man/man1/lgc-pg.1.gz man/man6/lgeneral.6.gz share/applications/lgeneral.desktop +share/icons/hicolor/48x48/apps/lgeneral.png %%PORTDOCS%%%%DOCSDIR%%/README.lgc-pg %%PORTDOCS%%%%DOCSDIR%%/README.lgeneral %%PORTDOCS%%%%DOCSDIR%%/README.redit @@ -216,7 +217,6 @@ share/applications/lgeneral.desktop %%NLS%%share/locale/de/LC_MESSAGES/pg.mo %%NLS%%share/locale/en/LC_MESSAGES/lgeneral.mo %%NLS%%share/locale/en/LC_MESSAGES/pg.mo -share/pixmaps/lgeneral.png @dir %%DATADIR%%/terrain @dir %%DATADIR%%/music @dir %%DATADIR%%/ai_modules |