summaryrefslogtreecommitdiff
path: root/math/antixls
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/antixls
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/antixls')
-rw-r--r--math/antixls/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/math/antixls/Makefile b/math/antixls/Makefile
index 828a9c3a5a6..d832adc457c 100644
--- a/math/antixls/Makefile
+++ b/math/antixls/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/07/07 22:10:07 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/04 18:12:58 jlam Exp $
#
DISTNAME= antixls-0.2b
@@ -13,13 +13,17 @@ COMMENT= Print XLS file with minimal formatting, or as CSV
DEPENDS+= p5-Spreadsheet-ParseExcel-[0-9]*:../../math/p5-Spreadsheet-ParseExcel
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= perl:run
WRKSRC= ${WRKDIR}
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} antixls
REPLACE_PERL+= antixls
NO_BUILD= YES
+INSTALLATION_DIRS= bin
+
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/antixls ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/antixls ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"