blob: 6bff660a119b0b4b11f9652e3580bfb566a07e5b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# 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
USES= gettext pathfix
USE_GMAKE= yes
USE_PKGCONFIG= build
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>
|