blob: 1296ca98faad67e88e111eb55772d78906a0058b (
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
|
# $NetBSD: Makefile,v 1.7 2008/01/25 18:55:02 joerg Exp $
#
DISTNAME= xorg-cf-files-1.0.2
PKGREVISION= 5
CATEGORIES= x11 devel
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/util/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://xorg.freedesktop.org/releases/individual/util/
COMMENT= Xorg imake rules
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
post-extract:
${CP} ${FILESDIR}/host.def ${WRKSRC}
${CP} ${FILESDIR}/xorgsite.def ${WRKSRC}
pre-configure:
.for sys in NetBSD FreeBSD DragonFly linux darwin
mv ${WRKSRC}/${sys}.cf ${WRKSRC}/${sys}.cf.before && \
${SED} -e "s|@@PKGSRC_CC@@|${CC}|g" \
-e "s|@@PKGSRC_CPP@@|${CPP}|g" \
-e "s|@@PKGSRC_CXX@@|${CXX}|g" \
-e "s|@@PKGSRC_CFLAGS@@|${CFLAGS}|g" \
-e "s|@@DARWIN_USE_QUARTZ@@|${DARWIN_USE_QUARTZ}|g" \
${WRKSRC}/${sys}.cf.before > ${WRKSRC}/${sys}.cf
.endfor
${SED} -e "s|@PREFIX@|${PREFIX}|g" \
-e "s|@PKGMANDIR@|${PKGMANDIR}|" \
-e "s|@MAKE@|${MAKE_PROGRAM}|" ${FILESDIR}/host.def > \
${WRKSRC}/host.def
.include "../../x11/xproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|