Annotation of pkgsrc/sysutils/aperture/Makefile, Revision 1.14
1.14 ! tron 1: # $NetBSD: Makefile,v 1.13 2001/07/29 05:34:38 tron Exp $
1.1 jlam 2:
3: DISTNAME= apNetBSD
1.9 jlam 4: PKGNAME= aperture-2.0nb1
1.1 jlam 5: CATEGORIES= sysutils x11
6: EXTRACT_SUFX= .shar
1.11 jlam 7:
8: # Not sure why ${MASTER_SITE_LOCAL:=${PKGNAME}} doesn't work, but the
9: # following does the correct substitution.
10: #
11: .for subdir in ${PKGNAME}
12: MASTER_SITES= ${MASTER_SITE_LOCAL:=${subdir}/}
13: .endfor
14:
15: # The definitive location of the distfile is as below, but it's risky to depend
16: # on NetBSD-current files to stay stable, so don't we'll place new copies at
17: # MASTER_SITE_LOCAL and update this package accordingly.
18: #
19: #MASTER_SITES+= ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/xsrc/xfree/xc/programs/Xserver/hw/xfree86/etc/
1.1 jlam 20:
1.9 jlam 21: MAINTAINER= jlam@netbsd.org
1.10 wiz 22: COMMENT= XFree86 Framebuffer "aperture" driver for NetBSD/i386
1.1 jlam 23:
1.13 tron 24: ONLY_FOR_PLATFORM= NetBSD-*-i386
1.14 ! tron 25:
! 26: NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
1.1 jlam 27:
1.13 tron 28: ALL_TARGET= cleandir depend all
29: DIST_SUBDIR= ${PKGNAME}
30: EXTRACT_CMD= ${SH} ${DOWNLOADED_DISTFILE}
31: INSTALL_FILE= ${WRKDIR}/INSTALL
32: INSTALL_TARGET= dirs includes install
1.12 tron 33: MANCOMPRESSED_IF_MANZ= YES
1.13 tron 34: NO_WRKSUBDIR= YES
35: NO_CONFIGURE= YES
1.12 tron 36: OSVERSION_SPECIFIC= YES
1.1 jlam 37:
1.9 jlam 38: BSDSRCDIR?= /nonexistent # to override <bsd.own.mk>, MUST be
39: # set this way BEFORE bsd.prefs.mk
1.13 tron 40:
1.3 agc 41: .include "../../mk/bsd.prefs.mk"
42:
1.9 jlam 43: pre-extract:
44: .if ${BSDSRCDIR} == "/nonexistent"
45: @${ECHO_MSG} "Please set BSDSRCDIR in /etc/mk.conf, pointing it"
46: @${ECHO_MSG} "to a directory that contains sources that match"
47: @${ECHO_MSG} "your currently running system (esp. kernel), e.g."
48: @${ECHO_MSG} "/usr/src."
49: @${FALSE}
50: .endif
51: .if !exists(${BSDSRCDIR}/sys/lib/libkern/libkern.h)
52: @${ECHO_MSG} "Need a kernel source tree in ${BSDSRCDIR}/sys."
53: @${ECHO_MSG} "(Or set BSDSRCDIR correctly in /etc/mk.conf.)"
54: @${FALSE}
1.3 agc 55: .endif
1.13 tron 56:
57: post-build:
58: ${SED} -e 's#$${PREFIX}#${PREFIX}#g' <${PKGDIR}/INSTALL \
59: >${INSTALL_FILE}
1.1 jlam 60:
61: .include "../../mk/bsd.pkg.mk"
62:
63: LDFLAGS= # empty since we use BSD-style makefiles
CVSweb <webmaster@jp.NetBSD.org>