aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/libwraster/Makefile
blob: 6a2ec345a9d40c9a99e0b7ee1d23f2bae25d170e (plain) (blame)
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
# New ports collection makefile for:	libwraster
# Date created:				August 17, 2009
# Whom:					Doug Barton <dougb@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=	libwraster
PORTREVISION=	0

COMMENT=	libwraster from Window Maker

MASTERDIR=	${.CURDIR}/../windowmaker

LWR_SLAVE=	yes

PATCHDIR=	# To void equivalent in master port
DESCR=		${.CURDIR}/pkg-descr
PLIST=		${.CURDIR}/pkg-plist

CONFLICTS=	windowmaker-0.*

post-patch:
	@${CP} ${WRKSRC}/wrlib/Makefile.in ${WRKSRC}/wrlib/Makefile.in.presed
	@${SED} -e s#$$\(libdir\)/pkgconfig#${PREFIX}/libdata/pkgconfig#g \
	    ${WRKSRC}/wrlib/Makefile.in.presed > ${WRKSRC}/wrlib/Makefile.in

do-build:
	cd ${WRKSRC} && ${MAKE} config-paths.h
	cd ${WRKSRC}/wrlib && ${MAKE}

do-install:
	cd ${WRKSRC}/wrlib && ${MAKE} install

.include "${MASTERDIR}/Makefile"