2013-03-28 04:28:30 +01:00
|
|
|
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-08-17 16:59:31 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gtkextra
|
2010-12-11 17:34:54 +01:00
|
|
|
PORTVERSION= 2.1.2
|
2014-08-19 21:04:23 +02:00
|
|
|
PORTREVISION= 4
|
2000-08-17 16:59:31 +02:00
|
|
|
CATEGORIES= x11-toolkits
|
2010-12-11 17:34:54 +01:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
|
2000-08-17 16:59:31 +02:00
|
|
|
DISTNAME= ${PORTNAME:S/gtk/gtk+/}-${PORTVERSION}
|
|
|
|
|
2006-05-02 03:21:51 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-04-22 14:12:45 +02:00
|
|
|
COMMENT= Useful widget set complementary to GTK+ 2.0
|
2000-08-17 16:59:31 +02:00
|
|
|
|
2014-08-19 21:04:23 +02:00
|
|
|
USES= gmake libtool pathfix pkgconfig
|
2013-04-23 16:20:25 +02:00
|
|
|
USE_GNOME= gtk20
|
2014-04-22 14:12:45 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2012-07-03 00:37:56 +02:00
|
|
|
USE_CSTD= gnu89
|
2006-08-15 03:13:42 +02:00
|
|
|
USE_LDCONFIG= yes
|
2014-04-22 14:12:45 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2000-08-17 16:59:31 +02:00
|
|
|
|
2005-10-21 06:33:31 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/gtkextra2
|
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
|
2014-02-21 14:40:27 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2010-12-11 17:34:54 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||' ${WRKSRC}/Makefile.in
|
2013-03-08 11:51:34 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
|
|
|
|
${WRKSRC}/gtkextra/gtkcharsel.c
|
2010-12-11 17:34:54 +01:00
|
|
|
|
2005-10-21 06:33:31 +02:00
|
|
|
post-install:
|
2010-12-11 17:34:54 +01:00
|
|
|
.for d in reference tutorial
|
2014-04-22 14:12:45 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/${d}
|
|
|
|
@(cd ${WRKSRC}/docs/${d} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
2010-12-11 17:34:54 +01:00
|
|
|
.endfor
|
2005-10-21 06:33:31 +02:00
|
|
|
|
2000-08-17 16:59:31 +02:00
|
|
|
.include <bsd.port.mk>
|