summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache>2007-12-11 14:49:25 +0000
committerobache <obache>2007-12-11 14:49:25 +0000
commitd7283b2aaf80d84f8332a97126e821d865f70130 (patch)
treef225d61004a90d434eb66bbffefe68b67b975836
parentd7bff7e321321312f52534d73d08f19f78204913 (diff)
downloadpkgsrc-d7283b2aaf80d84f8332a97126e821d865f70130.tar.gz
DESTDIR ready.
-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"