2002-09-15 21:25:38 +02:00
|
|
|
# $NetBSD: Makefile,v 1.22 2002/09/15 19:25:38 tron Exp $
|
2000-01-05 19:02:18 +01:00
|
|
|
|
|
|
|
DISTNAME= apNetBSD
|
2001-11-29 02:12:24 +01:00
|
|
|
PKGNAME= aperture-2.0
|
2002-09-15 21:25:38 +02:00
|
|
|
PKGREVISION= 3
|
2000-01-05 19:02:18 +01:00
|
|
|
CATEGORIES= sysutils x11
|
|
|
|
EXTRACT_SUFX= .shar
|
|
|
|
|
2001-05-05 16:32:43 +02:00
|
|
|
# Not sure why ${MASTER_SITE_LOCAL:=${PKGNAME}} doesn't work, but the
|
|
|
|
# following does the correct substitution.
|
|
|
|
#
|
|
|
|
.for subdir in ${PKGNAME}
|
2002-02-08 23:58:54 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL:=${subdir}nb1/}
|
2001-05-05 16:32:43 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
# The definitive location of the distfile is as below, but it's risky to depend
|
|
|
|
# on NetBSD-current files to stay stable, so don't we'll place new copies at
|
|
|
|
# MASTER_SITE_LOCAL and update this package accordingly.
|
|
|
|
#
|
|
|
|
#MASTER_SITES+= ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/xsrc/xfree/xc/programs/Xserver/hw/xfree86/etc/
|
|
|
|
|
2001-01-18 00:57:52 +01:00
|
|
|
MAINTAINER= jlam@netbsd.org
|
2001-02-17 18:42:09 +01:00
|
|
|
COMMENT= XFree86 Framebuffer "aperture" driver for NetBSD/i386
|
2000-01-05 19:02:18 +01:00
|
|
|
|
2002-09-14 10:14:22 +02:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-i386
|
2000-01-05 19:02:18 +01:00
|
|
|
|
2001-07-29 07:40:04 +02:00
|
|
|
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
|
|
|
|
|
2001-07-29 07:34:38 +02:00
|
|
|
ALL_TARGET= cleandir depend all
|
|
|
|
DIST_SUBDIR= ${PKGNAME}
|
|
|
|
INSTALL_TARGET= dirs includes install
|
2001-07-28 16:10:20 +02:00
|
|
|
MANCOMPRESSED_IF_MANZ= YES
|
2001-09-09 22:36:07 +02:00
|
|
|
WRKSRC= ${WRKDIR}
|
2001-07-29 07:34:38 +02:00
|
|
|
NO_CONFIGURE= YES
|
2001-07-28 16:10:20 +02:00
|
|
|
OSVERSION_SPECIFIC= YES
|
2000-01-05 19:02:18 +01:00
|
|
|
|
2001-01-18 00:57:52 +01:00
|
|
|
BSDSRCDIR?= /nonexistent # to override <bsd.own.mk>, MUST be
|
|
|
|
# set this way BEFORE bsd.prefs.mk
|
2001-07-29 07:34:38 +02:00
|
|
|
|
2000-05-11 13:17:55 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2001-01-18 00:57:52 +01:00
|
|
|
pre-extract:
|
|
|
|
.if ${BSDSRCDIR} == "/nonexistent"
|
|
|
|
@${ECHO_MSG} "Please set BSDSRCDIR in /etc/mk.conf, pointing it"
|
|
|
|
@${ECHO_MSG} "to a directory that contains sources that match"
|
|
|
|
@${ECHO_MSG} "your currently running system (esp. kernel), e.g."
|
|
|
|
@${ECHO_MSG} "/usr/src."
|
|
|
|
@${FALSE}
|
|
|
|
.endif
|
|
|
|
.if !exists(${BSDSRCDIR}/sys/lib/libkern/libkern.h)
|
|
|
|
@${ECHO_MSG} "Need a kernel source tree in ${BSDSRCDIR}/sys."
|
|
|
|
@${ECHO_MSG} "(Or set BSDSRCDIR correctly in /etc/mk.conf.)"
|
|
|
|
@${FALSE}
|
2000-05-11 13:17:55 +02:00
|
|
|
.endif
|
2000-01-05 19:02:18 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
|
|
|
|
LDFLAGS= # empty since we use BSD-style makefiles
|