pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc DESTDIR support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/19a7ced41c50
branches: trunk
changeset: 545584:19a7ced41c50
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Aug 08 14:57:39 2008 +0000
description:
DESTDIR support.
diffstat:
textproc/docbook/Makefile | 7 ++++---
textproc/iso8879/Makefile | 10 +++++-----
2 files changed, 9 insertions(+), 8 deletions(-)
diffs (62 lines):
diff -r f32661f24196 -r 19a7ced41c50 textproc/docbook/Makefile
--- a/textproc/docbook/Makefile Fri Aug 08 14:32:38 2008 +0000
+++ b/textproc/docbook/Makefile Fri Aug 08 14:57:39 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2006/10/14 08:23:29 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2008/08/08 15:00:53 joerg Exp $
DISTNAME= docbook-4.4
PKGREVISION= 2
@@ -15,6 +15,7 @@
docbook-4.2.zip docbook-4.3.zip docbook-4.4.zip
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
MAINTAINER= rh%NetBSD.org@localhost
HOMEPAGE= http://www.oasis-open.org/docbook/
@@ -29,8 +30,8 @@
USE_TOOLS+= unzip
EXTRACT_ONLY= # nothing
-INSTDIR= ${PREFIX}/share/sgml/docbook
-ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog
+INSTDIR= ${DESTDIR}${PREFIX}/share/sgml/docbook
+ISOCAT= ${DESTDIR}${PREFIX}/share/sgml/iso8879/catalog
SGML_CATALOGS=
.for ver in 2.4.1 3.0 3.1 4.0 4.1 4.2 4.3 4.4
diff -r f32661f24196 -r 19a7ced41c50 textproc/iso8879/Makefile
--- a/textproc/iso8879/Makefile Fri Aug 08 14:32:38 2008 +0000
+++ b/textproc/iso8879/Makefile Fri Aug 08 14:57:39 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2007/02/22 19:27:14 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2008/08/08 14:57:39 joerg Exp $
DISTNAME= ISOEnts
PKGNAME= iso8879-1986
@@ -12,6 +12,7 @@
COMMENT= Character entity sets from ISO 8879:1986 (SGML)
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
USE_TOOLS+= unzip
@@ -19,13 +20,12 @@
EXTRACT_ONLY= # empty
NO_BUILD= yes
-INSTDIR= ${PREFIX}/share/sgml/iso8879
+INSTALLATION_DIRS= share/sgml/iso8879
+
+INSTDIR= ${DESTDIR}${PREFIX}/share/sgml/iso8879
SGML_CATALOGS= ${INSTDIR}/catalog
-pre-install:
- ${INSTALL_DATA_DIR} ${INSTDIR}
-
do-install:
@unzip -a -q -o ${DISTDIR}/${DISTFILES} -d ${INSTDIR}
@${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/catalog
Home |
Main Index |
Thread Index |
Old Index