diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-03 01:50:12 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-03 01:50:12 +0000 |
commit | 9017dcd64007483f65e09870c7acbae67609fa10 (patch) | |
tree | 5288bf1ecc57eef913f8a40b66ca6c6b058e0def /games | |
parent | 121c3e7564b0d4f0308f3ebb702efa62ba87729b (diff) | |
download | ports-9017dcd64007483f65e09870c7acbae67609fa10.tar.gz ports-9017dcd64007483f65e09870c7acbae67609fa10.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/lincity/Makefile | 28 | ||||
-rw-r--r-- | games/lincity/pkg-plist | 1 |
2 files changed, 12 insertions, 17 deletions
diff --git a/games/lincity/Makefile b/games/lincity/Makefile index 681a18396dd4..5ad33390ec19 100644 --- a/games/lincity/Makefile +++ b/games/lincity/Makefile @@ -10,36 +10,30 @@ MASTER_SITES= SF/${PORTNAME}/Lincity%20Development%20Source/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Rich city simulation game for X -LIB_DEPENDS= png15:${PORTSDIR}/graphics/png +LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png USES= gmake GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -MAN6= lincity.6 +OPTIONS_DEFINE= NLS SVGALIB +OPTIONS_SUB= yes -OPTIONS_DEFINE= SVGALIB NLS +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext + +SVGALIB_LIB_DEPENDS= libvga.so:${PORTSDIR}/graphics/svgalib +SVGALIB_CONFIGURE_ON= --without-x +SVGALIB_CONFIGURE_OFF= --without-svga -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MSVGALIB} -LIB_DEPENDS+= vga:${PORTSDIR}/graphics/svgalib -CONFIGURE_ARGS+= --without-x -PLIST_SUB= PROG="bin/lincity" +PLIST_SUB+= PROG="bin/lincity" .else USE_XORG= sm xext -CONFIGURE_ARGS+= --without-svga -PLIST_SUB= PROG="bin/xlincity" -.endif - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " +PLIST_SUB+= PROG="bin/xlincity" .endif pre-configure: diff --git a/games/lincity/pkg-plist b/games/lincity/pkg-plist index 76909c64bd5e..c8041a14b586 100644 --- a/games/lincity/pkg-plist +++ b/games/lincity/pkg-plist @@ -1,4 +1,5 @@ %%PROG%% +man/man6/lincity.6.gz %%DATADIR%%/colour.pal %%DATADIR%%/help/ask-dir.hlp %%DATADIR%%/help/blacksmith.hlp |