Update games/lgeneral to 1.3.2
This commit is contained in:
parent
834d2ea409
commit
b3480d3853
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=444764
3 changed files with 10 additions and 12 deletions
|
@ -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
|
||||
.for i in flags terrain units
|
||||
@${REINPLACE_CMD} -e 's|$$(${i}dir)|$$(DESTDIR)/&|' ${WRKSRC}/src/gfx/${i}/Makefile.am
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
.for i in flags terrain units
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/gfx/${i}
|
||||
.endfor
|
||||
${SETENV} DISPLAY= \
|
||||
${STAGEDIR}${PREFIX}/bin/lgc-pg --separate-bridges \
|
||||
-s ${WRKDIR}/pg-data \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue