diff options
author | joerg <joerg> | 2009-02-09 23:30:07 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-02-09 23:30:07 +0000 |
commit | bd0fb414d3e51a486fe9cc59fcc3c79d9fe37646 (patch) | |
tree | 3d427857a364fbcff7df0b7220a72b04c44254b5 /archivers/arj | |
parent | bf72ded6ccdc1535a421425308d8372d4581758c (diff) | |
download | pkgsrc-bd0fb414d3e51a486fe9cc59fcc3c79d9fe37646.tar.gz |
DESTDIR support.
Diffstat (limited to 'archivers/arj')
-rw-r--r-- | archivers/arj/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/archivers/arj/Makefile b/archivers/arj/Makefile index 68bb6fce0a0..5e5d71a6e0c 100644 --- a/archivers/arj/Makefile +++ b/archivers/arj/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2007/12/22 23:41:01 tnn Exp $ +# $NetBSD: Makefile,v 1.24 2009/02/09 23:30:07 joerg Exp $ DISTNAME= arj-3.10.22 CATEGORIES= archivers @@ -9,6 +9,7 @@ HOMEPAGE= http://arj.sourceforge.net/ COMMENT= Open-source ARJ archiver PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_TOOLS+= autoconf gmake GNU_CONFIGURE= yes @@ -33,12 +34,13 @@ pre-configure: ${RM} -f ${WRKSRC}/environ.c.1 cd ${WRKSRC}/gnu && autoconf +INSTALLATION_DIRS+= ${ARJ_DOCSDIR} + post-install: - ${INSTALL_DATA_DIR} ${ARJ_DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/COPYING ${WRKSRC}/doc/debug.txt \ - ${ARJ_DOCSDIR} + ${DESTDIR}${ARJ_DOCSDIR} .for i in arjl.txt arjs.txt history.txt readme.txt unix.txt - ${INSTALL_DATA} ${WRKSRC}/resource/en/${i:Q} ${ARJ_DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/resource/en/${i:Q} ${DESTDIR}${ARJ_DOCSDIR} .endfor .include "../../mk/bsd.pkg.mk" |