summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtkmm20-reference/Makefile
blob: 479cabbe6338a4094eeeb45889f64990c6afaf18 (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
# New ports collection makefile for:	gtkmm20-reference
# Date created:				09 May 2006
# Whom:					Jean-Yves Lefort <jylefort@FreeBSD.org>
#
# $FreeBSD$
#

PORTREVISION=	0

PATCH_DEPENDS=	${NONEXISTENT}:${.CURDIR}/../gtkmm20:patch
BUILD_DEPENDS=	${NONEXISTENT}:${.CURDIR}/../gtkmm20:configure

PARENT_WRKSRC!=	cd ${.CURDIR}/../gtkmm20 && ${MAKE} -V WRKSRC
EXTRACT_ONLY=
USE_GMAKE=	yes
PREFIX=		${X11BASE}

DOCSDIR=	${PREFIX}/share/doc/gtkmm-2.0

post-patch:
	@${FIND} ${PARENT_WRKSRC}/examples -name Makefile.in \
		| ${XARGS} ${REINPLACE_CMD} -e '/^install-am:/ s| all-am||'

do-install:
.for d in docs examples
	@cd ${PARENT_WRKSRC}/${d} && ${GMAKE} install
.endfor

.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"