summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorheinz <heinz>2008-01-03 23:15:47 +0000
committerheinz <heinz>2008-01-03 23:15:47 +0000
commit937bbf4977f84fce3a859d2ff1b1580425b07d50 (patch)
tree5f773944a33ea3e446535e9a7b2f867719fd3123 /devel
parent2e76da0ac25a1a142dff042e64232affebbf8438 (diff)
downloadpkgsrc-937bbf4977f84fce3a859d2ff1b1580425b07d50.tar.gz
Added support for installation to DESTDIR.
Diffstat (limited to 'devel')
-rw-r--r--devel/pccts/Makefile23
1 files changed, 12 insertions, 11 deletions
diff --git a/devel/pccts/Makefile b/devel/pccts/Makefile
index 9a92e7989e3..e030f7010b4 100644
--- a/devel/pccts/Makefile
+++ b/devel/pccts/Makefile
@@ -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 @@ MAINTAINER= david@maxwell.net
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 @@ BUILD_TARGET=
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"