aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtkmm24-reference/Makefile
blob: 4744eccb028ab216d08b36a0b6676869363746ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $FreeBSD$

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

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

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

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"