aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtkextra2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gtkextra2/Makefile')
-rw-r--r--x11-toolkits/gtkextra2/Makefile26
1 files changed, 19 insertions, 7 deletions
diff --git a/x11-toolkits/gtkextra2/Makefile b/x11-toolkits/gtkextra2/Makefile
index 86bb98223610..52e6c65ad3ce 100644
--- a/x11-toolkits/gtkextra2/Makefile
+++ b/x11-toolkits/gtkextra2/Makefile
@@ -6,21 +6,33 @@
#
PORTNAME= gtkextra
-PORTVERSION= 0.99.17
-PORTREVISION= 1
+PORTVERSION= 2.1.1
CATEGORIES= x11-toolkits
-MASTER_SITES= http://gtkextra.sourceforge.net/src/ \
- ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= scigraphica
DISTNAME= ${PORTNAME:S/gtk/gtk+/}-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
-COMMENT= A useful widget set complementary to GTK+
+COMMENT= A useful widget set complementary to GTK+ 2.0
USE_X_PREFIX= yes
-USE_INC_LIBTOOL_VER=13
-USE_GNOME= gtk12
+USE_LIBTOOL_VER=15
+USE_GNOME= gtk20 gnomehack
USE_GMAKE= yes
INSTALLS_SHLIB= yes
+LATEST_LINK= gtkextra2
+DOCSDIR= ${PREFIX}/share/doc/gtkextra2
+
+PORTDOCS= *
+
+post-install:
+.if !defined(NOPORTDOCS)
+. for d in reference tutorial
+ cd ${WRKSRC}/docs && \
+ ${FIND} ${d} -type d ! -empty -exec ${MKDIR} "${DOCSDIR}/{}" \; && \
+ ${FIND} ${d} -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
+. endfor
+.endif
+
.include <bsd.port.mk>