freebsd-ports/misc/shared-mime-info/Makefile
Koop Mast 7887c684ad * Update the glib to 2.34.3 and gtk20 to 2.24.17 and gtk30 to 3.6.4 which
are the latest stable releases.
* Update vala to the newest stable release 0.18.1, also update a few ports
  in the gtk/gnome stack.
* The c++ bindings ports for glib, atk, gconf, etc, have now USE_GNOME toggles.
* Remove pkg-config run depends from glib20 and freetype2. This doesn't
  eliminate pkg-config run dependency completely, a second phase is needed
  and is planned.
* Support for .:run. and .:build. for USE_GNOME components was added.
  Currently only libxml2 and libxslt support this mechanism.
* Updates of the telepathy stack and empathy.
* Trim makefile headers, convert ports to new options, trim off library
  versions for some ports.
* Fix other ports so they build with the new glib version.

Thanks to miwi and crees for helping out with some exp-runs.
Approved by:	portmgr (miwi & bapt)
Obtained from:	gnome team repo
2013-03-08 10:51:34 +00:00

41 lines
1.1 KiB
Makefile

# Created by: olgeni@FreeBSD.org
# $FreeBSD$
# $MCom: ports/misc/shared-mime-info/Makefile,v 1.16 2009/11/28 05:59:02 mezz Exp $
PORTNAME= shared-mime-info
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= misc gnome
MASTER_SITES= http://people.freedesktop.org/~hadess/
MAINTAINER= gnome@FreeBSD.org
COMMENT= MIME types database from the freedesktop.org project
USE_XZ= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-update-mimedb
USE_GETTEXT= yes
USE_GMAKE= yes
USE_GNOME= glib20 libxml2 intltool gnomehack intlhack
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_JOBS_UNSAFE= yes
MAN1= update-mime-database.1
SUB_FILES= pkg-install
SUB_LIST= MIMEDIRS="${MIMEDIRS:O:u}"
MIMEDIRS= ${LOCALBASE}/share/mime \
${PREFIX}/share/mime
MIMESUBDIRS= application audio image inode message model multipart \
packages text video x-epoc x-content
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/update-mime-database.c
post-install:
@${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>