aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/gtk20-reference/Makefile11
-rw-r--r--x11-toolkits/gtk20/Makefile23
-rw-r--r--x11-toolkits/gtk30-reference/Makefile11
-rw-r--r--x11-toolkits/gtk30/Makefile23
5 files changed, 63 insertions, 6 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index a7e7b3d61c55..c0f428526850 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -50,6 +50,7 @@
SUBDIR += gtk12-apireference
SUBDIR += gtk20
SUBDIR += gtk20-apireference
+ SUBDIR += gtk20-reference
SUBDIR += gtkada
SUBDIR += gtkdatabox
SUBDIR += gtkdatabox2
diff --git a/x11-toolkits/gtk20-reference/Makefile b/x11-toolkits/gtk20-reference/Makefile
new file mode 100644
index 000000000000..36c5ca6ccdd5
--- /dev/null
+++ b/x11-toolkits/gtk20-reference/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+BOOKS= gdk gdk-pixbuf gtk
+
+MAN1= gdk-pixbuf-csource.1
+
+post-install:
+ ${INSTALL_MAN} ${MAN1:S|^|${REFERENCE_SRC}/gdk-pixbuf/|} \
+ ${PREFIX}/man/man1
+
+.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index cb77a30898b7..f68901512405 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/Makefile
@@ -23,15 +23,21 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Gimp Toolkit for X11 GUI (current stable version)
+USE_BZIP2= yes
+LATEST_LINK= gtk20
+PREFIX?= ${X11BASE}
+
+.if !defined(REFERENCE_PORT)
+
+PORTREVISION= 1
+
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
jpeg.9:${PORTSDIR}/graphics/jpeg
RUN_DEPENDS= ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info \
${X11BASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
-USE_BZIP2= yes
-LATEST_LINK= gtk20
-USE_X_PREFIX= yes
+USE_XLIB= yes
USE_XPM= yes
USE_REINPLACE= yes
USE_PERL5= yes
@@ -45,6 +51,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
GTK_VERSION= 2.4.0
PLIST_SUB= GTK_VERSION="${GTK_VERSION}"
+gdk_pixbuf_MAN= gdk-pixbuf-query-loaders.1
+gtk_MAN= gtk-query-immodules-2.0.1 gtk-update-icon-cache.1
+
+MAN1= ${gdk_pixbuf_MAN} ${gtk_MAN}
+
# Setting WITH_DEBUG=yes effectively adds -g to $CFLAGS
# unless doing so would clobber a preexisting $CFLAGS.
# Setting to yes also causes debugging into to be spat out
@@ -108,5 +119,11 @@ post-install:
${PREFIX}/bin/gtk-update-icon-cache -q -f {} \; 2>/dev/null
@${MKDIR} ${PREFIX}/lib/gtk-2.0/modules
@${MKDIR} ${PREFIX}/lib/gtk-2.0/${GTK_VERSION}/engines
+ ${INSTALL_MAN} ${gdk_pixbuf_MAN:S|^|${WRKSRC}/docs/reference/gdk-pixbuf/|} \
+ ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${gtk_MAN:S|^|${WRKSRC}/docs/reference/gtk/|} \
+ ${PREFIX}/man/man1
.include <bsd.port.post.mk>
+
+.endif
diff --git a/x11-toolkits/gtk30-reference/Makefile b/x11-toolkits/gtk30-reference/Makefile
new file mode 100644
index 000000000000..36c5ca6ccdd5
--- /dev/null
+++ b/x11-toolkits/gtk30-reference/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+BOOKS= gdk gdk-pixbuf gtk
+
+MAN1= gdk-pixbuf-csource.1
+
+post-install:
+ ${INSTALL_MAN} ${MAN1:S|^|${REFERENCE_SRC}/gdk-pixbuf/|} \
+ ${PREFIX}/man/man1
+
+.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index cb77a30898b7..f68901512405 100644
--- a/x11-toolkits/gtk30/Makefile
+++ b/x11-toolkits/gtk30/Makefile
@@ -23,15 +23,21 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Gimp Toolkit for X11 GUI (current stable version)
+USE_BZIP2= yes
+LATEST_LINK= gtk20
+PREFIX?= ${X11BASE}
+
+.if !defined(REFERENCE_PORT)
+
+PORTREVISION= 1
+
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
jpeg.9:${PORTSDIR}/graphics/jpeg
RUN_DEPENDS= ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info \
${X11BASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
-USE_BZIP2= yes
-LATEST_LINK= gtk20
-USE_X_PREFIX= yes
+USE_XLIB= yes
USE_XPM= yes
USE_REINPLACE= yes
USE_PERL5= yes
@@ -45,6 +51,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
GTK_VERSION= 2.4.0
PLIST_SUB= GTK_VERSION="${GTK_VERSION}"
+gdk_pixbuf_MAN= gdk-pixbuf-query-loaders.1
+gtk_MAN= gtk-query-immodules-2.0.1 gtk-update-icon-cache.1
+
+MAN1= ${gdk_pixbuf_MAN} ${gtk_MAN}
+
# Setting WITH_DEBUG=yes effectively adds -g to $CFLAGS
# unless doing so would clobber a preexisting $CFLAGS.
# Setting to yes also causes debugging into to be spat out
@@ -108,5 +119,11 @@ post-install:
${PREFIX}/bin/gtk-update-icon-cache -q -f {} \; 2>/dev/null
@${MKDIR} ${PREFIX}/lib/gtk-2.0/modules
@${MKDIR} ${PREFIX}/lib/gtk-2.0/${GTK_VERSION}/engines
+ ${INSTALL_MAN} ${gdk_pixbuf_MAN:S|^|${WRKSRC}/docs/reference/gdk-pixbuf/|} \
+ ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${gtk_MAN:S|^|${WRKSRC}/docs/reference/gtk/|} \
+ ${PREFIX}/man/man1
.include <bsd.port.post.mk>
+
+.endif