1 # Created by: Maxim Sobolev <sobomax@FreeBSD.org>
2 # $FreeBSD: x11-toolkits/gtkextra2/Makefile 327785 2013-09-20 23:57:47Z bapt $
7 CATEGORIES= x11-toolkits
8 MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
9 DISTNAME= ${PORTNAME:S/gtk/gtk+/}-${PORTVERSION}
11 MAINTAINER= ports@FreeBSD.org
12 COMMENT= A useful widget set complementary to GTK+ 2.0
14 USES= pathfix pkgconfig
17 USE_AUTOTOOLS= libtool
21 LATEST_LINK= gtkextra2
22 DOCSDIR= ${PREFIX}/share/doc/gtkextra2
27 .include <bsd.port.options.mk>
30 @${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||' ${WRKSRC}/Makefile.in
31 @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
32 ${WRKSRC}/gtkextra/gtkcharsel.c
35 .if ${PORT_OPTIONS:MDOCS}
36 .for d in reference tutorial
37 @${MKDIR} ${DOCSDIR}/${d}
38 @(cd ${WRKSRC}/docs/${d} && ${COPYTREE_SHARE} . ${DOCSDIR})
42 .include <bsd.port.mk>