summaryrefslogtreecommitdiff
path: root/sysutils/aperture/Makefile
blob: 2fa663b6b9bda137aa55016cdc2fb3866c90e3c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# $NetBSD: Makefile,v 1.8 2000/12/26 17:33:52 dmcmahill Exp $

DISTNAME=	apNetBSD
PKGNAME=	aperture-2.0
CATEGORIES=	sysutils x11
MASTER_SITES=	ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/xsrc/xc/programs/Xserver/hw/xfree86/etc/
EXTRACT_SUFX=	.shar

MAINTAINER=	packages@netbsd.org

EXTRACT_CMD=	${SH} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}
ALL_TARGET=	cleandir depend all
INSTALL_TARGET=	dirs includes install
NO_WRKSUBDIR=	yes
NO_CONFIGURE=	yes
DIST_SUBDIR=	${PKGNAME}

OSVERSION_SPECIFIC=	yes
ONLY_FOR_PLATFORM=	NetBSD-*-i386

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "NetBSD"
pre-fetch:
	@if [ ! -f /sys/lib/libkern/libkern.h ]; then \
	    ${ECHO_MSG} "==================================================="; \
	    ${ECHO_MSG} "    Kernel sources for the version of the kernel"; \
	    ${ECHO_MSG} "    you are running are required to build LKMs."; \
	    ${ECHO_MSG} "    Please fetch them and make a link from /sys";  \
	    ${ECHO_MSG} "    to the kernel source directory (typically"; \
	    ${ECHO_MSG} "    /usr/src/sys)."; \
	    ${ECHO_MSG}; \
	    ${ECHO_MSG} "    Information for fetching kernel sources may be"; \
	    ${ECHO_MSG} "    found at the following URL:"; \
	    ${ECHO_MSG}; \
	    ${ECHO_MSG} "    http://www.netbsd.org/Documentation/"; \
	    ${ECHO_MSG} "==================================================="; \
	    ${FALSE}; \
	fi
.endif

.include "../../mk/bsd.pkg.mk"

LDFLAGS=	# empty since we use BSD-style makefiles