f79573370a
foo-* to foo-[0-9]*. This is to cause the dependencies to match only the packages whose base package name is "foo", and not those named "foo-bar". A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also change dependency examples in Packages.txt to reflect this.
42 lines
1 KiB
Makefile
42 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2001/09/27 23:18:08 jlam Exp $
|
|
|
|
DISTNAME= quake-v6-bsd-kame
|
|
PKGNAME= quake6-0.0
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.viagenie.qc.ca/quake/
|
|
|
|
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
|
|
PATCHFILES= quake6-00-v6-20000202b.diff.gz
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
MAINTAINER= itojun@kame.net
|
|
HOMEPAGE= http://www.viagenie.qc.ca/en/ipv6-quake.shtml
|
|
COMMENT= Quake over IPv6
|
|
|
|
DEPENDS= quakedata-[0-9]*:../../games/quakedata
|
|
BUILD_DEPENDS= autoconf>=2.13:../../devel/autoconf
|
|
|
|
WRKSRC= ${WRKDIR}/quakeforge
|
|
|
|
post-extract:
|
|
cd ${WRKSRC}; ${FIND} . -name \*.o -exec ${RM} {} \;
|
|
cd ${WRKSRC}; ${RM} config.cache
|
|
|
|
USE_GMAKE= yes
|
|
USE_X11= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
# This pkg can be built on USE_INET6 platform only
|
|
BUILD_DEFS+= USE_INET6
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if !(defined(USE_INET6) && ${USE_INET6} == "YES")
|
|
IGNORE= "${PKGNAME} requires IPv6 support"
|
|
.endif
|
|
|
|
# "bindir" setting is very non-standard for GNU autoconf
|
|
CONFIGURE_ARGS+=--disable-asmopt --bindir=/bin
|
|
|
|
post-patch:
|
|
cd ${WRKSRC}; autoreconf
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|