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
commit227db4fd65c1798f1f06219f896b8a2add93ce0c (patch)
treeea772f1017a149bdf8c86107c24d16246695614e /math/abs
parent47512d21954e6312a4cd43b04b4c2594596e697b (diff)
downloadpkgsrc-227db4fd65c1798f1f06219f896b8a2add93ce0c.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"