pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/expatobjc Add DESTDIR support. Bump PKGREVIS...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2fe5aed1e7bc
branches: trunk
changeset: 391770:2fe5aed1e7bc
user: rh <rh%pkgsrc.org@localhost>
date: Sun Apr 19 07:11:26 2009 +0000
description:
Add DESTDIR support. Bump PKGREVISION.
diffstat:
textproc/expatobjc/Makefile | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diffs (40 lines):
diff -r 28b174203daa -r 2fe5aed1e7bc textproc/expatobjc/Makefile
--- a/textproc/expatobjc/Makefile Sun Apr 19 04:10:02 2009 +0000
+++ b/textproc/expatobjc/Makefile Sun Apr 19 07:11:26 2009 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2006/07/29 07:52:21 minskim Exp $
+# $NetBSD: Makefile,v 1.13 2009/04/19 07:11:26 rh Exp $
#
DISTNAME= expatobjc-1.0
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=expatobjc/}
@@ -10,12 +10,25 @@
HOMEPAGE= http://expatobjc.sourceforge.net/
COMMENT= Objective-C Wrapper for Expat
+LICENSE= expatobjc-license
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= objc
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
+AUTO_MKDIRS= yes
CONFIGURE_ENV+= objc_works=yes
+MAKE_ENV+= INSTALL_DATA=${INSTALL_DATA:Q}
+
+SUBST_CLASSES+= expatobjc
+SUBST_STAGE.expatobjc= pre-configure
+SUBST_FILES.expatobjc= Makefile.in
+SUBST_SED.expatobjc+= -e 's|\$$(INSTALL) -c -m 644|\$${INSTALL_DATA}|'
+SUBST_SED.expatobjc+= -e 's|\$$(libdir)|\$${DESTDIR}\$${PREFIX}/lib|'
+SUBST_SED.expatobjc+= -e 's|\$$(incdir)|\$${DESTDIR}\$${PREFIX}/include|'
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index