summaryrefslogtreecommitdiff
path: root/games/grande
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-26 14:42:11 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-26 14:42:11 +0000
commit9ac50e28994bf057573e49a4acf53dd53695a68c (patch)
treed664b29194b174972c33ee52b24f24b7dd775d5a /games/grande
parent- Update MASTER_SITES and WWW: line (diff)
- Fix build
PR: ports/64761 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=105334
Diffstat (limited to 'games/grande')
-rw-r--r--games/grande/Makefile19
-rw-r--r--games/grande/files/patch-aa13
2 files changed, 12 insertions, 20 deletions
diff --git a/games/grande/Makefile b/games/grande/Makefile
index 47fc0b260df3..34652f84143d 100644
--- a/games/grande/Makefile
+++ b/games/grande/Makefile
@@ -15,20 +15,25 @@ DISTNAME= ${PORTNAME}-KXL-${PORTVERSION}
MAINTAINER= ports@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 --git a/games/grande/files/patch-aa b/games/grande/files/patch-aa
deleted file mode 100644
index 5f725ed156de..000000000000
--- a/games/grande/files/patch-aa
+++ /dev/null
@@ -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,