diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
commit | a80fd13efc426f96e55870df48a2030daea0f14b (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /math/antixls | |
parent | 31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff) | |
download | pkgsrc-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/Makefile | 8 |
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" |