summaryrefslogtreecommitdiff
path: root/math/antixls
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 17:57:17 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 17:57:17 +0000
commita80fd13efc426f96e55870df48a2030daea0f14b (patch)
treeea772f1017a149bdf8c86107c24d16246695614e /math/antixls
parent31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff)
downloadpkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.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"