summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-12-11 14:49:25 +0000
committerobache <obache@pkgsrc.org>2007-12-11 14:49:25 +0000
commit1ced54dcf71e3dd798a4005207d397a734b5a61e (patch)
treef225d61004a90d434eb66bbffefe68b67b975836 /textproc
parente5671f2d9d70c6858745603d05912805020a7d0a (diff)
downloadpkgsrc-1ced54dcf71e3dd798a4005207d397a734b5a61e.tar.gz
DESTDIR ready.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/eb/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/textproc/eb/Makefile b/textproc/eb/Makefile
index fdc91d5aa94..e9417123f39 100644
--- a/textproc/eb/Makefile
+++ b/textproc/eb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2007/06/07 13:01:27 uebayasi Exp $
+# $NetBSD: Makefile,v 1.43 2007/12/11 14:49:25 obache Exp $
DISTNAME= eb-4.3
PKGREVISION= 1
@@ -55,6 +55,8 @@ USE_TOOLS+= gmake perl
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFIGURE_ARGS+= --with-zlib
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
@@ -79,12 +81,12 @@ INSTALLATION_DIRS= share/eb/appendix
post-install:
( \
- cd ${EB_APPENDIXDIR} && \
+ cd ${DESTDIR}${EB_APPENDIXDIR} && \
for f in ${EB_APPENDICES}; do \
${EXTRACT_CMD} ${_DISTDIR}/$${f}; \
done \
)
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/eb.conf ${EGDIR}/eb.conf.default
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/eb.conf ${DESTDIR}${EGDIR}/eb.conf.default
.include "../../mk/bsd.pkg.mk"