diff options
author | krion <krion@FreeBSD.org> | 2004-03-26 14:42:11 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-03-26 14:42:11 +0000 |
commit | b3d5fafd206a89d0b7e246cdaa339006ce6dd6a0 (patch) | |
tree | b43c49941789b6bc51f539c6cce2b27e76a76e07 /games/grande | |
parent | d25e0f6c40678ec527d1c1ae0901732fe9e9a770 (diff) | |
download | FreeBSD-ports-b3d5fafd206a89d0b7e246cdaa339006ce6dd6a0.zip FreeBSD-ports-b3d5fafd206a89d0b7e246cdaa339006ce6dd6a0.tar.gz |
- Fix build
PR: ports/64761
Submitted by: Ports Fury
Diffstat (limited to 'games/grande')
-rw-r--r-- | games/grande/Makefile | 19 | ||||
-rw-r--r-- | games/grande/files/patch-aa | 13 |
2 files changed, 12 insertions, 20 deletions
diff --git a/games/grande/Makefile b/games/grande/Makefile index 47fc0b2..34652f8 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 5f725ed..0000000 --- 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, |