aboutsummaryrefslogtreecommitdiffstats
path: root/games/lgeneral
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-05-23 10:01:35 +0800
committermiwi <miwi@FreeBSD.org>2012-05-23 10:01:35 +0800
commitbc5179053a2a8cedbdfc02a4bdfa499bdb1b0ec0 (patch)
tree7030783eb4e5d2849c84da77421376edf7d940c3 /games/lgeneral
parent58d7b4fa755cc1a607c36bbe1518391dcdd74ec3 (diff)
downloadfreebsd-ports-gnome-bc5179053a2a8cedbdfc02a4bdfa499bdb1b0ec0.tar.gz
freebsd-ports-gnome-bc5179053a2a8cedbdfc02a4bdfa499bdb1b0ec0.tar.zst
freebsd-ports-gnome-bc5179053a2a8cedbdfc02a4bdfa499bdb1b0ec0.zip
- Update to 1.2.3
PR: 168033 Submitted by: Ports Fury
Diffstat (limited to 'games/lgeneral')
-rw-r--r--games/lgeneral/Makefile26
-rw-r--r--games/lgeneral/distinfo4
2 files changed, 16 insertions, 14 deletions
diff --git a/games/lgeneral/Makefile b/games/lgeneral/Makefile
index 01109d2331c6..4ce14a971309 100644
--- a/games/lgeneral/Makefile
+++ b/games/lgeneral/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= lgeneral
-PORTVERSION= 1.2.2
-PORTREVISION= 1
+PORTVERSION= 1.2.3
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME} \
SF/${PORTNAME}/${PORTNAME}-data:data
@@ -21,16 +20,21 @@ LICENSE= GPLv2
CONFLICTS= lgeneral-data-[0-9]*
+OPTIONS= SOUND "Enable sound support" on \
+ NLS "Enable native language support" on
+
USE_SDL= sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
MAN1= lgc-pg.1
MAN6= lgeneral.6
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+.include <bsd.port.options.mk>
.if defined(WITHOUT_SOUND)
CONFIGURE_ARGS+=--disable-sound
@@ -47,9 +51,13 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
+BROKEN= Does not install on ia64, powerpc, or sparc64
+.endif
+
post-patch:
- @${REINPLACE_CMD} -e 's|-g -Wall|-Wall| ; \
- s|/games||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/icons|/pixmaps|' ${WRKSRC}/Makefile.in
post-install:
@@ -62,10 +70,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/README.* ${DOCSDIR}
.endif
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
-BROKEN= Does not install on ia64, powerpc, or sparc64
-.endif
-
.include <bsd.port.post.mk>
diff --git a/games/lgeneral/distinfo b/games/lgeneral/distinfo
index 5d9135dde443..0a9218f88f25 100644
--- a/games/lgeneral/distinfo
+++ b/games/lgeneral/distinfo
@@ -1,4 +1,4 @@
-SHA256 (lgeneral-1.2.2.tar.gz) = 1817c409120b9e5f51da2cd43c96c5eda91d6a1207417eeb3e8bacd11248eb74
-SIZE (lgeneral-1.2.2.tar.gz) = 1628913
+SHA256 (lgeneral-1.2.3.tar.gz) = 55d17bb173c956c705b94bc8a6399d5311b3ec82c9f1821a97fe9ec45da0d9a1
+SIZE (lgeneral-1.2.3.tar.gz) = 1630400
SHA256 (pg-data.tar.gz) = cc6fa5d263d1d5824d706517958b1bb09b405ba0ed21e63e4a4d38e2727d7a04
SIZE (pg-data.tar.gz) = 410476