2002-02-20 14:19:24 +01:00
|
|
|
# New ports collection makefile for: grande
|
|
|
|
# Date created: 20 Feb 2002
|
|
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= grande
|
|
|
|
PORTVERSION= 0.5
|
2004-01-30 23:47:30 +01:00
|
|
|
PORTREVISION= 1
|
2002-02-20 14:19:24 +01:00
|
|
|
CATEGORIES= games
|
2003-03-05 17:30:44 +01:00
|
|
|
MASTER_SITES= http://kxl.hn.org/download/
|
2002-02-20 14:19:24 +01:00
|
|
|
DISTNAME= ${PORTNAME}-KXL-${PORTVERSION}
|
|
|
|
|
2003-11-03 02:19:26 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-05 17:30:44 +01:00
|
|
|
COMMENT= A Zanac type game
|
2002-02-20 14:19:24 +01:00
|
|
|
|
2004-03-26 15:42:11 +01:00
|
|
|
BUILD_DEPENDS= ${X11BASE}/lib/libKXL-1.1.5.so:${PORTSDIR}/games/kxl
|
|
|
|
RUN_DEPENDS= ${X11BASE}/lib/libKXL-1.1.5.so:${PORTSDIR}/games/kxl
|
2002-02-20 14:19:24 +01:00
|
|
|
|
|
|
|
NO_CDROM= Possible copyright infringement
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2004-03-26 15:42:11 +01:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_GMAKE= yes
|
2002-02-20 14:19:24 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-03-26 15:42:11 +01:00
|
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
|
|
|
AUTOHEADER="${TRUE}"
|
2004-03-13 19:05:00 +01:00
|
|
|
|
2004-03-26 15:42:11 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|^inst_path=.*$$|inst_path="$${datadir}/grande"|g ; \
|
|
|
|
s|^score_path=.*$$|score_path="$${datadir}/grande/score"|g' \
|
|
|
|
${WRKSRC}/configure
|
2002-02-20 14:19:24 +01:00
|
|
|
|
|
|
|
pre-install:
|
2004-03-26 15:42:11 +01:00
|
|
|
@${MKDIR} ${DATADIR}/score
|
2002-02-20 14:19:24 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|