# New ports collection makefile for: gtk13 # Date Created: 28 Sep 1997 # Whom: Vanilla I. Shu # # $FreeBSD$ # $MCom: ports/x11-toolkits/gtk20/Makefile,v 1.152 2009/03/13 16:20:57 kwm Exp $ # PORTNAME= gtk PORTVERSION= 2.16.5 PORTREVISION?= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \ ftp://ftp.gtk.org/pub/gtk/%SUBDIR%/ \ ftp://ftp.gimp.org/pub/%SUBDIR%/ \ ftp://ftp.cs.umn.edu/pub/gimp/%SUBDIR%/ \ http://www.ameth.org/gimp/%SUBDIR%/ \ ftp://ftp.mirror.ac.uk/sites/ftp.gimp.org/pub/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/gimp/%SUBDIR%,} MASTER_SITE_SUBDIR= gtk/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} DISTNAME= gtk+-${PORTVERSION} DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Gimp Toolkit for X11 GUI (current stable version) USE_BZIP2= yes LATEST_LINK= gtk20 .if !defined(REFERENCE_PORT) LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff \ jpeg.10:${PORTSDIR}/graphics/jpeg \ jasper.4:${PORTSDIR}/graphics/jasper RUN_DEPENDS+= ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info \ ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme USE_GMAKE= yes USE_PERL5= yes USE_LDCONFIG= yes USE_AUTOTOOLS= libtool:22 USE_GNOME= gnomehack atk pango ltverhack USE_GETTEXT= yes USE_XORG= xext xrender x11 xinerama xi xrandr xcursor xfixes xdamage \ xcomposite CONFIGURE_ARGS= --enable-static --with-xinput=yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \ -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" 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} .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug=yes .endif .include .if (defined(WITH_CUPS) || exists(${LOCALBASE}/lib/libcups.so)) && \ !defined(WITHOUT_CUPS) LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-client CONFIGURE_ARGS+=--enable-cups=auto PLIST_SUB+= CUPS:="" .else CONFIGURE_ARGS+=--disable-cups PLIST_SUB+= CUPS:="@comment " .endif post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${GREP} -l lgmodule | \ ${XARGS} ${REINPLACE_CMD} -e 's|-lgmodule|@GMODULE_LIBS@|g' @${REINPLACE_CMD} -e 's|[{]libdir[}]/locale|{datadir}/locale|g' \ ${WRKSRC}/configure # GnomeVFS needs pthread; gtk-demo may use GnomeVFS (via GtkFileChooser) @${REINPLACE_CMD} -e 's|@CFLAGS@|& ${PTHREAD_CFLAGS}|; \ s|@LDFLAGS@|& ${PTHREAD_LIBS}|' \ ${WRKSRC}/demos/gtk-demo/Makefile.in @${REINPLACE_CMD} -e 's|@LN_S@|${LN} -sf|' ${WRKSRC}/gtk/Makefile.in @${REINPLACE_CMD} -e 's|file,cups|file,cups,lpr|' \ ${WRKSRC}/gtk/Makefile.in pre-build: @${RM} -rf ${WRKSRC}/docs/gtk.info* post-install: -@${FIND} ${LOCALBASE}/share/icons -type d -depth 1 -exec \ ${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 .endif ic-6.5.4 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/print/ggv
Commit message (Expand)AuthorAgeFilesLines
* - Update to 2.8.5ahze2005-06-083-4/+5
* Fully-qualify the path to update-desktop-database and update-mime-database inmezz2005-03-172-3/+3
* Bump PORTREVISION to chase the glib20 shared lib version change.marcus2005-03-121-0/+1
* Update to 2.8.4.marcus2005-03-082-4/+3
* Add manual to update the mimetype database, it seems like GNOME developersmezz2005-02-101-0/+4
* Update to 2.8.3ahze2005-02-032-3/+3
* - Move print/ggv2 to print/ggvpav2005-01-255-0/+205
* Begin the de-orbit burn of the GNOME 1.4 desktop. This is phase I. Allmarcus2003-07-1611-385/+0
* Remove REINPLACE commands that were rolled into gnomehack.adamw2003-06-121-4/+0
* Remove USE_GNOMENG.marcus2003-04-211-1/+0
* Clear moonlight beckons.ade2003-03-072-1/+1
* Fix security vulnerability (the patch backported from ggv2).sobomax2002-10-182-3/+149
* Mark as forbidden. See bugtraq id 5808.sobomax2002-10-181-0/+2
* GNOME has just changed the layout of their FTP site. This resulted inmarcus2002-09-211-1/+1
* Use USE_GNOMENG.sobomax2002-07-122-16/+3
* add missing files.nork2002-04-291-0/+1
* Fix a bug preventing from viewing pdf files.sobomax2002-02-032-0/+12
* Backout previous change - it seems that new revision of the patch doesn'tsobomax2001-12-201-17/+8
* Don't filter libc_r on 5-CURRENT.sobomax2001-12-201-8/+17
* Update to 1.0.2.sobomax2001-11-126-8/+55
* Replace the ghostscript6 dependencies with ghostscript-gnu.knu2001-09-121-1/+1
* Update to 1.0.1ade2001-05-222-2/+2
* SWitch maintainership of core GNOME ports to a small group ofade2001-05-121-1/+1
* Update to GNOME 1.4 -- massive changes all around, for the sake ofade2001-05-056-27/+94
* -pthread --> ${PTHREAD_LIBS}sobomax2001-03-301-1/+1
* Implement USE_GNOME, part 2.reg2000-10-051-6/+2
* Unconditionally disable bonobo support here too -- it needs reworkingade2000-08-261-3/+19
* Re-sobomize to use pre-patch instead of post-extractade2000-08-051-1/+1
* Extensive patchfile cleanups using sobomax's wonderfulade2000-08-043-9/+12
* Say hello to GNOME 1.2ade2000-06-021-4/+2
* Update to 0.95ade2000-05-185-29/+25
* Accidental whitespacecpiazza2000-04-101-2/+2
* Update with the new PORTNAME/PORTVERSION variablescpiazza2000-04-101-2/+2