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

PORTREVISION=   3

BUILD_DEPENDS=  ${LOCALBASE}/libdata/pkgconfig/gtkmm-2.0.pc:${PORTSDIR}/x11-toolkits/gtkmm20

USE_GMAKE=  yes
GNU_CONFIGURE=  yes

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

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

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

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