1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/devel/glibmm-reference/Makefile
Jeremy Messenger 3d46513000 Fix the installation and plist when NOPORTDOCS is defined, bump the
PORTREVISION.

Reported by:	itetcu
2008-05-19 20:12:05 +00:00

36 lines
863 B
Makefile

# New ports collection makefile for: glibmm-reference
# Date created: 09 May 2006
# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
#
# $FreeBSD$
#
PORTREVISION= 4
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/glibmm-2.4.pc:${PORTSDIR}/devel/glibmm \
gm4:${PORTSDIR}/devel/m4
USE_GMAKE= yes
GNU_CONFIGURE= yes
DOCSDIR= ${PREFIX}/share/doc/glibmm-2.4
post-patch:
@${FIND} ${WRKSRC}/examples -name Makefile.in \
| ${XARGS} ${REINPLACE_CMD} -e '/^install-am:/ s| all-am||'
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-gmmproc_binSCRIPTS||' \
${WRKSRC}/docs/reference/Makefile.in
post-build:
@${TOUCH} ${WRKSRC}/docs/reference/html/index.html
do-install:
.if !defined(NOPORTDOCS)
. for d in docs examples
@cd ${WRKSRC}/${d} && ${GMAKE} install
. endfor
.endif
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"