Remove the post-install target and use FAKE_FLAGS instead.

This commit is contained in:
ajacoutot 2011-01-18 20:08:24 +00:00
parent 1c7758f411
commit bda85fb7f2

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.27 2011/01/18 20:03:07 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.28 2011/01/18 20:08:24 ajacoutot Exp $
COMMENT= MIME and Application database for GNOME
COMMENT= MIME and application database for GNOME
GNOME_PROJECT= gnome-mime-data
GNOME_VERSION= 2.18.0
CATEGORIES= x11
REVISION= 3
REVISION= 4
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
@ -20,10 +20,7 @@ CONFIGURE_STYLE= gnu old
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FAKE_FLAGS+= pkgconfigdir=${PREFIX}/lib/pkgconfig/
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnome-mime-data; \
cp -Rp ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/gnome-mime-data/
FAKE_FLAGS= pkgconfigdir=${PREFIX}/lib/pkgconfig/ \
sysconfdir=${PREFIX}/share/examples/gnome-mime-data/
.include <bsd.port.mk>