diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2014-02-13 13:52:14 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2014-02-13 13:52:14 +0000 |
commit | 7f37a892ef894868f30ebe0e6ffd4caf6b40a1b4 (patch) | |
tree | 8098a30c5c1c1af887feb8cb2981e689ee14ef83 /games/ggz-client-libs | |
parent | 75bc8e8146ad6d4a1104c835ed7736f2f0cafd69 (diff) | |
download | ports-7f37a892ef894868f30ebe0e6ffd4caf6b40a1b4.tar.gz ports-7f37a892ef894868f30ebe0e6ffd4caf6b40a1b4.zip |
Notes
Diffstat (limited to 'games/ggz-client-libs')
-rw-r--r-- | games/ggz-client-libs/Makefile | 32 | ||||
-rw-r--r-- | games/ggz-client-libs/pkg-plist | 8 |
2 files changed, 18 insertions, 22 deletions
diff --git a/games/ggz-client-libs/Makefile b/games/ggz-client-libs/Makefile index 36197bd92fe2..b053bc757c40 100644 --- a/games/ggz-client-libs/Makefile +++ b/games/ggz-client-libs/Makefile @@ -6,43 +6,31 @@ PORTVERSION= ${GGZ_VERSION} PORTREVISION= 2 CATEGORIES= games -MAINTAINER= kde@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= The GGZ Gaming Zone - Core Client Libraries -LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 +LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 -USE_AUTOTOOLS= libtool +USES= libtool:oldver GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-debug --with-libggz-dir="${LOCALBASE}" USE_LDCONFIG= yes USE_GGZ= core -MAN1= ggzwrap.1 -MAN3= ggzcore_h.3 ggzmod_h.3 -MAN5= ggz.modules.5 -MAN6= ggz.6 ggz-config.6 ggz-wrapper.6 -MAN7= ggz.7 +INSTALL_TARGET= install-strip -CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -pthread -NO_STAGE= yes -.include <bsd.port.options.mk> +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_ARGS= --disable-nls post-patch: @${REINPLACE_CMD} -e 's|libggz.la|libggz.so|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' ${WRKSRC}/ggz-wrapper/ggz -post-install: - @${TOUCH} ${PREFIX}/etc/ggz.modules - .include "${.CURDIR}/../libggz/bsd.ggz.mk" .include <bsd.port.mk> diff --git a/games/ggz-client-libs/pkg-plist b/games/ggz-client-libs/pkg-plist index dbad2ada0d41..65fbc26cda21 100644 --- a/games/ggz-client-libs/pkg-plist +++ b/games/ggz-client-libs/pkg-plist @@ -14,6 +14,14 @@ lib/libggzmod.a lib/libggzmod.la lib/libggzmod.so lib/libggzmod.so.5 +man/man1/ggzwrap.1.gz +man/man3/ggzcore_h.3.gz +man/man3/ggzmod_h.3.gz +man/man5/ggz.modules.5.gz +man/man6/ggz.6.gz +man/man6/ggz-config.6.gz +man/man6/ggz-wrapper.6.gz +man/man7/ggz.7.gz share/desktop-directories/ggz-games.directory share/desktop-directories/ggz.directory %%NLS%%share/locale/ar/LC_MESSAGES/ggzcore.mo |