summaryrefslogtreecommitdiff
path: root/math/abs
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 17:57:17 +0000
committerjlam <jlam>2008-03-04 17:57:17 +0000
commitbdd0c18aec7b66f61e3330e8817dc56f3935ec5e (patch)
treeea772f1017a149bdf8c86107c24d16246695614e /math/abs
parent3fb238c0b22ac51fd38f31b091b73ec6488f8dd9 (diff)
downloadpkgsrc-bdd0c18aec7b66f61e3330e8817dc56f3935ec5e.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'math/abs')
-rw-r--r--math/abs/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/math/abs/Makefile b/math/abs/Makefile
index 349cdeacdc8..84d07f8f8dc 100644
--- a/math/abs/Makefile
+++ b/math/abs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2006/12/27 13:37:39 joerg Exp $
+# $NetBSD: Makefile,v 1.20 2008/03/04 18:12:58 jlam Exp $
#
DISTNAME= abs-src-0.8
@@ -12,13 +12,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
# AWOL
COMMENT= Free spreadsheet with graphical user interface
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_X11BASE= YES
MAKE_FILE= Makefile.netBSD
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/abs ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/abs ${DESTDIR}${PREFIX}/bin
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"