Import x11-toolkits/gtkextra2 version 2.1.2_1
[dports.git] / x11-toolkits / gtkextra2 / Makefile
1 # New ports collection makefile for:    gtkextra
2 # Date created:                         17 August 2000
3 # Whom:                                 Maxim Sobolev <sobomax@FreeBSD.org>
4 #
5 # $FreeBSD: ports/x11-toolkits/gtkextra2/Makefile,v 1.43 2012/11/17 06:03:35 svnexp Exp $
6 #
7
8 PORTNAME=       gtkextra
9 PORTVERSION=    2.1.2
10 PORTREVISION=   1
11 CATEGORIES=     x11-toolkits
12 MASTER_SITES=   SF/${PORTNAME}/${PORTVERSION}
13 DISTNAME=       ${PORTNAME:S/gtk/gtk+/}-${PORTVERSION}
14
15 MAINTAINER=     ports@FreeBSD.org
16 COMMENT=        A useful widget set complementary to GTK+ 2.0
17
18 USE_GNOME=      gtk20 gnomehack
19 USE_GMAKE=      yes
20 USE_AUTOTOOLS=  libtool
21 USE_CSTD=       gnu89
22 USE_LDCONFIG=   yes
23 USE_PKGCONFIG=  build
24
25 LATEST_LINK=    gtkextra2
26 DOCSDIR=        ${PREFIX}/share/doc/gtkextra2
27
28 PORTDOCS=       *
29
30 .include <bsd.port.options.mk>
31
32 post-patch:
33         @${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||' ${WRKSRC}/Makefile.in
34
35 post-install:
36 .if ${PORT_OPTIONS:MDOCS}
37 .for d in reference tutorial
38         @${MKDIR} ${DOCSDIR}/${d}
39         @(cd ${WRKSRC}/docs/${d} && ${COPYTREE_SHARE} . ${DOCSDIR})
40 .endfor
41 .endif
42
43 .include <bsd.port.mk>