diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2013-04-22 16:56:19 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2013-04-22 16:56:19 +0800 |
commit | 4d91bbf09909e314ae0093914269ccb33963fa3f (patch) | |
tree | 4fe6ae04b7514d87543c87d5071284963bc1250b /misc/shared-mime-info/Makefile | |
parent | 30fc839d1eb2af926b99b910ec6e9daf64116a2e (diff) | |
download | marcuscom-ports-4d91bbf09909e314ae0093914269ccb33963fa3f.tar marcuscom-ports-4d91bbf09909e314ae0093914269ccb33963fa3f.tar.gz marcuscom-ports-4d91bbf09909e314ae0093914269ccb33963fa3f.tar.bz2 marcuscom-ports-4d91bbf09909e314ae0093914269ccb33963fa3f.tar.lz marcuscom-ports-4d91bbf09909e314ae0093914269ccb33963fa3f.tar.xz marcuscom-ports-4d91bbf09909e314ae0093914269ccb33963fa3f.tar.zst marcuscom-ports-4d91bbf09909e314ae0093914269ccb33963fa3f.zip |
Update shared-mime-info to 1.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18382 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'misc/shared-mime-info/Makefile')
-rw-r--r-- | misc/shared-mime-info/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile new file mode 100644 index 000000000..213ec62f8 --- /dev/null +++ b/misc/shared-mime-info/Makefile @@ -0,0 +1,42 @@ +# Created by: olgeni@FreeBSD.org +# $FreeBSD: head/misc/shared-mime-info/Makefile 314767 2013-03-20 21:45:00Z kwm $ +# $MCom$ + +PORTNAME= shared-mime-info +PORTVERSION= 1.1 +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_PKGCONFIG= build +USES= pathfix +USE_GNOME= glib20 libxml2 intltool 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> |