summaryrefslogtreecommitdiff
path: root/lang/focal
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 16:38:11 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 16:38:11 +0000
commit8216d744ac7ee52a87a0c54540fc68d487f4ad1f (patch)
tree3b3e69289dd17a1030bb7365e1cb146dbfea41bd /lang/focal
parent642995a0c4f1913cc6893865f1f5905084199dc1 (diff)
downloadpkgsrc-8216d744ac7ee52a87a0c54540fc68d487f4ad1f.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'lang/focal')
-rw-r--r--lang/focal/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/lang/focal/Makefile b/lang/focal/Makefile
index 4529ec92ecf..b4756cdc4a2 100644
--- a/lang/focal/Makefile
+++ b/lang/focal/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/12/02 13:04:10 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2008/03/04 16:38:12 jlam Exp $
#
DISTNAME= focal
@@ -10,16 +10,17 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://home.scarlet.be/~be042720/44/focal.htm
COMMENT= Interpreted programming language
+PKG_DESTDIR_SUPPORT= user-destdir
FOCALDOCDIR= ${PREFIX}/share/doc/focal
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/focal ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${FOCALDOCDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/focal ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${FOCALDOCDIR}
for i in focal.doc queens.foc sieve.foc; do \
- ${INSTALL_DATA} ${WRKSRC}/$$i ${FOCALDOCDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/$$i ${DESTDIR}${FOCALDOCDIR}; \
done
.include "../../mk/bsd.pkg.mk"