blob: 9f20a2f0e79ae4aec63ae357d2872a75cbd57541 (
plain)
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
|
# $NetBSD: Makefile,v 1.17 2006/03/30 20:47:19 jmmv Exp $
#
DISTNAME= shared-mime-info-0.17
CATEGORIES= databases
MASTER_SITES= http://freedesktop.org/~hadess/
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://www.freedesktop.org/Software/shared-mime-info
COMMENT= Core database of common types
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
USE_PKGLOCALEDIR= YES
USE_TOOLS+= pkg-config
CONFIGURE_ARGS+= --disable-update-mimedb
.include "../../mk/bsd.prefs.mk"
CPPFLAGS+= -DPREFIX="\"${PREFIX}\""
DEINSTALL_TEMPLATE+= ${PKGDIR}/INSTALL
FILES_SUBST+= MIMEDB_PATH="${PREFIX}/share/mime"
FILES_SUBST+= UPDATE_MIMEDB="${PREFIX}/bin/update-mime-database"
PRINT_PLIST_AWK+= /^share\/mime\/packages/ { print; next; }
PRINT_PLIST_AWK+= /^share\/mime/ { next; }
PRINT_PLIST_AWK+= /^@dirrm share\/mime\/packages$$/ { print; next; }
PRINT_PLIST_AWK+= /^@dirrm share\/mime/ { next; }
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../textproc/intltool/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|