ports/64761: Update port: games/grande
KATO Tsuguru
tkato at prontomail.com
Fri Mar 26 12:40:27 UTC 2004
>Number: 64761
>Category: ports
>Synopsis: Update port: games/grande
>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: Fri Mar 26 04:40:25 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.9-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Fix build
Remove file:
files/patch-aa
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/games/grande/Makefile games/grande/Makefile
--- /usr/ports/games/grande/Makefile Sun Mar 14 10:30:27 2004
+++ games/grande/Makefile Fri Mar 26 01:52:37 2004
@@ -15,20 +15,25 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= A Zanac type game
-BUILD_DEPENDS= ${X11BASE}/include/KXL.h:${PORTSDIR}/games/kxl
+BUILD_DEPENDS= ${X11BASE}/lib/libKXL-1.1.5.so:${PORTSDIR}/games/kxl
+RUN_DEPENDS= ${X11BASE}/lib/libKXL-1.1.5.so:${PORTSDIR}/games/kxl
NO_CDROM= Possible copyright infringement
USE_X_PREFIX= yes
+USE_REINPLACE= yes
+USE_GMAKE= yes
GNU_CONFIGURE= yes
-USE_AUTOCONF_VER= 253
-ACLOCAL= aclocal
+MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
+ AUTOHEADER="${TRUE}"
-pre-configure:
- cd ${WRKDIR}/${DISTNAME} && ${ACLOCAL}
- cd ${WRKDIR}/${DISTNAME} && touch depcomp
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|^inst_path=.*$$|inst_path="$${datadir}/grande"|g ; \
+ s|^score_path=.*$$|score_path="$${datadir}/grande/score"|g' \
+ ${WRKSRC}/configure
pre-install:
- ${MKDIR} ${PREFIX}/share/${PORTNAME}/score
+ @${MKDIR} ${DATADIR}/score
.include <bsd.port.mk>
diff -urN /usr/ports/games/grande/files/patch-aa games/grande/files/patch-aa
--- /usr/ports/games/grande/files/patch-aa Wed Feb 20 22:19:24 2002
+++ games/grande/files/patch-aa Thu Jan 1 09:00:00 1970
@@ -1,13 +0,0 @@
---- configure.in.orig Tue Feb 19 21:44:00 2002
-+++ configure.in Wed Feb 20 22:03:39 2002
-@@ -17,8 +17,8 @@
- AC_CHECK_HEADERS(unistd.h)
-
- dnl installation & score path
--inst_path="$prefix/games/grande"
--score_path="/var/games"
-+inst_path="$prefix/share/grande"
-+score_path="$prefix/share/grande/score"
-
- dnl check if installation was disabled
- AC_ARG_ENABLE( install,
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list