diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-05-09 23:45:35 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-05-09 23:45:35 +0000 |
commit | 2a2c67a93c6b480c5abf766ecdba2403942fee9c (patch) | |
tree | 19a0e3c51218c6547abadbea61955ed2c96c88c0 /x11-toolkits | |
parent | 3eb809dfe366051785599b55bef76f1eed4982af (diff) | |
download | ports-2a2c67a93c6b480c5abf766ecdba2403942fee9c.tar.gz ports-2a2c67a93c6b480c5abf766ecdba2403942fee9c.zip |
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/Makefile | 1 | ||||
-rw-r--r-- | x11-toolkits/gtk20-reference/Makefile | 11 | ||||
-rw-r--r-- | x11-toolkits/gtk20/Makefile | 23 | ||||
-rw-r--r-- | x11-toolkits/gtk30-reference/Makefile | 11 | ||||
-rw-r--r-- | x11-toolkits/gtk30/Makefile | 23 |
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 |