2002-05-31 11:58:16 +02:00
|
|
|
# New ports collection makefile for: shared-mime-info
|
|
|
|
# Date created: 31 May 2002
|
|
|
|
# Whom: olgeni@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2008-03-24 04:52:36 +01:00
|
|
|
# $MCom: ports/misc/shared-mime-info/Makefile,v 1.13 2008/02/01 04:17:52 mezz Exp $
|
2007-10-25 01:37:25 +02:00
|
|
|
#
|
2002-05-31 11:58:16 +02:00
|
|
|
|
|
|
|
PORTNAME= shared-mime-info
|
2009-02-23 06:20:29 +01:00
|
|
|
PORTVERSION= 0.60
|
2009-05-11 14:23:00 +02:00
|
|
|
PORTREVISION= 1
|
2004-01-13 18:27:12 +01:00
|
|
|
CATEGORIES= misc gnome
|
2007-02-10 11:02:18 +01:00
|
|
|
MASTER_SITES= http://people.freedesktop.org/~hadess/
|
2002-05-31 11:58:16 +02:00
|
|
|
|
2004-01-13 18:27:12 +01:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-02-23 11:51:29 +01:00
|
|
|
COMMENT= A MIME type database from the FreeDesktop project
|
2002-05-31 11:58:16 +02:00
|
|
|
|
2007-02-10 11:02:18 +01:00
|
|
|
USE_BZIP2= yes
|
2002-05-31 11:58:16 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-09-04 02:24:54 +02:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= glib20 libxml2 intltool gnomehack intlhack
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2002-05-31 11:58:16 +02:00
|
|
|
|
2003-01-08 16:25:24 +01:00
|
|
|
MAN1= update-mime-database.1
|
|
|
|
|
2004-12-26 08:05:08 +01:00
|
|
|
PKGINSTALL= ${WRKDIR}/pkg-install
|
|
|
|
|
2007-10-25 01:37:25 +02:00
|
|
|
MIMEDIRS= ${LOCALBASE}/share/mime \
|
|
|
|
${PREFIX}/share/mime
|
2006-03-18 06:04:36 +01:00
|
|
|
MIMESUBDIRS= application audio image inode message model multipart \
|
2008-03-24 04:52:36 +01:00
|
|
|
packages text video x-epoc x-content
|
2004-12-04 22:10:03 +01:00
|
|
|
|
2004-02-18 03:51:54 +01:00
|
|
|
post-patch:
|
2004-12-04 22:10:03 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|%%MIMEDIRS%%|${MIMEDIRS}|g' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2007-05-20 00:01:13 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
|
2004-02-18 03:51:54 +01:00
|
|
|
${WRKSRC}/update-mime-database.c
|
|
|
|
|
2004-12-26 08:05:08 +01:00
|
|
|
post-install:
|
|
|
|
@${SED} -e 's|%%PREFIX%%|${PREFIX}| ; \
|
|
|
|
s|%%MIMEDIRS%%|${MIMEDIRS}|' \
|
|
|
|
< ${FILESDIR}/pkg-install.in > ${PKGINSTALL}
|
|
|
|
|
2002-05-31 11:58:16 +02:00
|
|
|
.include <bsd.port.mk>
|