mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
d79a374352
PR: 241957 Submitted by: amdmi3 Approved by: maintainer timeout (desktop, 2 weeks)
40 lines
926 B
Makefile
40 lines
926 B
Makefile
# Created by: olgeni@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= shared-mime-info
|
|
PORTVERSION= 1.10
|
|
PORTREVISION= 2
|
|
CATEGORIES= misc gnome
|
|
MASTER_SITES= https://people.freedesktop.org/~hadess/
|
|
|
|
MAINTAINER= desktop@FreeBSD.org
|
|
COMMENT= MIME types database from the freedesktop.org project
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-update-mimedb
|
|
USES= pathfix pkgconfig gettext gmake gnome localbase tar:xz
|
|
USE_GNOME= glib20 libxml2 intltool
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
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
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
|
|
${WRKSRC}/update-mime-database.c
|
|
|
|
.include <bsd.port.mk>
|