openbsd-ports/x11/gnome/mime-data/Makefile
2010-07-13 20:37:02 +00:00

31 lines
756 B
Makefile

# $OpenBSD: Makefile,v 1.24 2010/07/13 20:37:03 ajacoutot Exp $
COMMENT= MIME and Application database for GNOME
GNOME_PROJECT= gnome-mime-data
GNOME_VERSION= 2.18.0
CATEGORIES= x11
REVISION= 2
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= x11/gnome
USE_LIBTOOL= No
CONFIGURE_STYLE= gnu old
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}/gnome"
FAKE_FLAGS+= pkgconfigdir=${PREFIX}/lib/pkgconfig/
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnome-mime-data; \
cp -Rp ${WRKINST}/${SYSCONFDIR}/gnome/* ${PREFIX}/share/examples/gnome-mime-data/
.include <bsd.port.mk>