aboutsummaryrefslogtreecommitdiffstats
path: root/devel/glibmm-reference/Makefile
blob: 8965b01d7acd05466dd42ba2a054b186417b8e0c (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
# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
# $FreeBSD$

PORTREVISION=   0

BUILD_DEPENDS=  ${LOCALBASE}/libdata/pkgconfig/glibmm-2.4.pc:${PORTSDIR}/devel/glibmm \
        gm4:${PORTSDIR}/devel/m4

GNU_CONFIGURE=  yes
USES=       gmake pkgconfig
PORTSCOUT=  ignore:1

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

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

post-build:
    @${TOUCH} ${WRKSRC}/docs/reference/html/index.html

do-install:
.  for d in docs examples
    @cd ${WRKSRC}/${d} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install
.  endfor


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