8be86e18f6
"go ahead" jasper@
39 lines
878 B
Makefile
39 lines
878 B
Makefile
# $OpenBSD: Makefile,v 1.20 2008/01/25 18:56:52 ajacoutot Exp $
|
|
|
|
COMMENT= shared mime database for desktops
|
|
|
|
DISTNAME= shared-mime-info-0.23
|
|
CATEGORIES= misc
|
|
|
|
HOMEPAGE= http://www.freedesktop.org/wiki/Software/shared-mime-info
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c
|
|
|
|
MASTER_SITES= http://freedesktop.org/~hadess/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MODULES= devel/gettext \
|
|
textproc/intltool
|
|
|
|
BUILD_DEPENDS= :p5-XML-Parser-*:textproc/p5-XML-Parser
|
|
LIB_DEPENDS= glib-2.0::devel/glib2 \
|
|
xml2::textproc/libxml
|
|
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
pre-configure:
|
|
@perl -pi -e 's|/usr/local|${LOCALBASE}|g' \
|
|
${WRKSRC}/update-mime-database.c \
|
|
${WRKSRC}/shared-mime-info-spec.xml
|
|
|
|
.include <bsd.port.mk>
|