diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-05-13 02:20:31 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-05-13 02:20:31 +0800 |
commit | c18641048d792cd348899d211a3681aa588e1887 (patch) | |
tree | 2283061a584bebdb40b8f28a4181ed5cdfde7732 /x11-toolkits/gtk20/Makefile | |
parent | 34e689f587f1129c83f861a216f9c7ab6b2ab943 (diff) | |
download | marcuscom-ports-c18641048d792cd348899d211a3681aa588e1887.tar marcuscom-ports-c18641048d792cd348899d211a3681aa588e1887.tar.gz marcuscom-ports-c18641048d792cd348899d211a3681aa588e1887.tar.bz2 marcuscom-ports-c18641048d792cd348899d211a3681aa588e1887.tar.lz marcuscom-ports-c18641048d792cd348899d211a3681aa588e1887.tar.xz marcuscom-ports-c18641048d792cd348899d211a3681aa588e1887.tar.zst marcuscom-ports-c18641048d792cd348899d211a3681aa588e1887.zip |
Merge -reference port support from the ports tree.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6242 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/gtk20/Makefile')
-rw-r--r-- | x11-toolkits/gtk20/Makefile | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index bef8b5df4..9a8373688 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -3,7 +3,7 @@ # Whom: Vanilla I. Shu <vanilla@MinJe.com.TW> # # $FreeBSD$ -# $MCom: ports/x11-toolkits/gtk20/Makefile,v 1.82 2006/05/06 08:50:37 marcus Exp $ +# $MCom: ports/x11-toolkits/gtk20/Makefile,v 1.83 2006/05/08 21:07:09 ahze Exp $ # PORTNAME= gtk @@ -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.10.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 @@ -115,5 +126,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 |