pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Added support for installation to DESTDIR.
details: https://anonhg.NetBSD.org/pkgsrc/rev/7cdfc012efa2
branches: trunk
changeset: 537114:7cdfc012efa2
user: heinz <heinz%pkgsrc.org@localhost>
date: Thu Jan 03 23:15:47 2008 +0000
description:
Added support for installation to DESTDIR.
diffstat:
benchmarks/netio/Makefile | 10 ++++++----
devel/pccts/Makefile | 23 ++++++++++++-----------
2 files changed, 18 insertions(+), 15 deletions(-)
diffs (79 lines):
diff -r 2b69545a342c -r 7cdfc012efa2 benchmarks/netio/Makefile
--- a/benchmarks/netio/Makefile Thu Jan 03 23:14:46 2008 +0000
+++ b/benchmarks/netio/Makefile Thu Jan 03 23:15:47 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/07/02 15:02:59 tron Exp $
+# $NetBSD: Makefile,v 1.17 2008/01/03 23:15:47 heinz Exp $
DISTNAME= netio126
PKGNAME= netio-1.26
@@ -12,6 +12,7 @@
LICENSE= no-commercial-use
+PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
@@ -26,9 +27,10 @@
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/netio ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/netio
- ${INSTALL_DATA} ${WRKSRC}/netio.doc ${PREFIX}/share/doc/netio/netio.txt
+ ${INSTALL_PROGRAM} ${WRKSRC}/netio ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/netio
+ ${INSTALL_DATA} ${WRKSRC}/netio.doc \
+ ${DESTDIR}${PREFIX}/share/doc/netio/netio.txt
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 2b69545a342c -r 7cdfc012efa2 devel/pccts/Makefile
--- a/devel/pccts/Makefile Thu Jan 03 23:14:46 2008 +0000
+++ b/devel/pccts/Makefile Thu Jan 03 23:15:47 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2006/09/09 02:41:58 obache Exp $
+# $NetBSD: Makefile,v 1.19 2008/01/03 23:17:12 heinz Exp $
#
DISTNAME= pccts133mr22
@@ -12,6 +12,7 @@
HOMEPAGE= http://www.polhode.com/pccts.html
COMMENT= Purdue Compiler Construction Tool Set
+PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/pccts
@@ -24,20 +25,20 @@
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/antlr ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/dlg ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/genmk ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/sor ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pccts
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/antlr ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/dlg ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/genmk ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/sor ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/pccts
${INSTALL_MAN} ${WRKSRC}/CHANGES_FROM_131.txt \
${WRKSRC}/CHANGES_FROM_133.txt \
${WRKSRC}/CHANGES_FROM_133_BEFORE_MR13.txt \
${WRKSRC}/KNOWN_PROBLEMS.txt \
${WRKSRC}/RIGHTS ${WRKSRC}/history.txt \
- ${PREFIX}/share/doc/pccts/
- ${INSTALL_DATA_DIR} ${PREFIX}/include/pccts
- ${INSTALL_MAN} ${WRKSRC}/h/*.h ${PREFIX}/include/pccts/
- ${INSTALL_MAN} ${WRKSRC}/h/*.c ${PREFIX}/include/pccts/
- ${INSTALL_MAN} ${WRKSRC}/h/*.cpp ${PREFIX}/include/pccts/
+ ${DESTDIR}${PREFIX}/share/doc/pccts/
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/pccts
+ ${INSTALL_MAN} ${WRKSRC}/h/*.h ${DESTDIR}${PREFIX}/include/pccts/
+ ${INSTALL_MAN} ${WRKSRC}/h/*.c ${DESTDIR}${PREFIX}/include/pccts/
+ ${INSTALL_MAN} ${WRKSRC}/h/*.cpp ${DESTDIR}${PREFIX}/include/pccts/
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index