mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Remove NLS option, doesn't build with it disabled
- Fix etc/ggz.modules handling - Drop @dirrm* from plist
This commit is contained in:
parent
820f2b06b4
commit
e47155b818
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373824
@ -9,7 +9,7 @@ CATEGORIES= games
|
|||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= The GGZ Gaming Zone - Console (Text) Frontend
|
COMMENT= The GGZ Gaming Zone - Console (Text) Frontend
|
||||||
|
|
||||||
USES= readline
|
USES= gettext readline
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --disable-debug
|
CONFIGURE_ARGS= --disable-debug
|
||||||
USE_GGZ= client
|
USE_GGZ= client
|
||||||
@ -19,12 +19,6 @@ INSTALL_TARGET= install-strip
|
|||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib -pthread -lexpat
|
LDFLAGS+= -L${LOCALBASE}/lib -pthread -lexpat
|
||||||
|
|
||||||
OPTIONS_DEFINE= NLS
|
|
||||||
OPTIONS_SUB= yes
|
|
||||||
|
|
||||||
NLS_USES= gettext
|
|
||||||
NLS_CONFIGURE_OFF= --disable-nls
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|_LDADD =|_LDADD = $$(LIB_GGZCORE)|' \
|
@${REINPLACE_CMD} -e 's|_LDADD =|_LDADD = $$(LIB_GGZCORE)|' \
|
||||||
${WRKSRC}/tttxt/Makefile.in
|
${WRKSRC}/tttxt/Makefile.in
|
||||||
@ -32,6 +26,7 @@ post-patch:
|
|||||||
post-install:
|
post-install:
|
||||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/ggz
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/ggz
|
||||||
@${INSTALL_DATA} ${WRKSRC}/tttxt/module.dsc ${STAGEDIR}/${PREFIX}/share/ggz/tttxt.dsc
|
@${INSTALL_DATA} ${WRKSRC}/tttxt/module.dsc ${STAGEDIR}/${PREFIX}/share/ggz/tttxt.dsc
|
||||||
|
${RM} ${STAGEDIR}${PREFIX}/etc/ggz.modules
|
||||||
|
|
||||||
.include "${.CURDIR}/../libggz/bsd.ggz.mk"
|
.include "${.CURDIR}/../libggz/bsd.ggz.mk"
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -5,6 +5,5 @@ share/applications/ggz-txt.desktop
|
|||||||
@unexec ggz-config -D --remove --modfile=%D/share/ggz/tttxt.dsc --force
|
@unexec ggz-config -D --remove --modfile=%D/share/ggz/tttxt.dsc --force
|
||||||
share/ggz/tttxt.dsc
|
share/ggz/tttxt.dsc
|
||||||
@exec ggz-config -D --install --modfile=%D/share/ggz/tttxt.dsc --force
|
@exec ggz-config -D --install --modfile=%D/share/ggz/tttxt.dsc --force
|
||||||
%%NLS%%share/locale/de/LC_MESSAGES/ggz-txt.mo
|
share/locale/de/LC_MESSAGES/ggz-txt.mo
|
||||||
@dirrmtry share/ggz
|
@unexec if [ "x`cat %D/etc/ggz.modules`" = "x[Games]" ]; then echo -n > %D/etc/ggz.modules; fi
|
||||||
@dirrmtry lib/ggz
|
|
||||||
|
Loading…
Reference in New Issue
Block a user