ports/168033: games/lgeneral: Update to version 1.2.3
KATO Tsuguru
tkato432 at yahoo.com
Thu May 17 18:10:06 UTC 2012
>Number: 168033
>Category: ports
>Synopsis: games/lgeneral: Update to version 1.2.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu May 17 18:10:05 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 1.2.3
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/games/lgeneral/Makefile games/lgeneral/Makefile
--- /usr/ports/games/lgeneral/Makefile 2012-02-18 19:17:57.000000000 +0900
+++ games/lgeneral/Makefile 2012-04-21 14:46:58.000000000 +0900
@@ -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 @@
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 @@
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 @@
${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 -urN /usr/ports/games/lgeneral/distinfo games/lgeneral/distinfo
--- /usr/ports/games/lgeneral/distinfo 2011-09-01 03:19:37.000000000 +0900
+++ games/lgeneral/distinfo 2012-04-21 14:33:54.000000000 +0900
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list