pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/eb DESTDIR ready.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/19761b34dc44
branches:  trunk
changeset: 536361:19761b34dc44
user:      obache <obache%pkgsrc.org@localhost>
date:      Tue Dec 11 14:49:25 2007 +0000

description:
DESTDIR ready.

diffstat:

 textproc/eb/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r a3e17e5f77f5 -r 19761b34dc44 textproc/eb/Makefile
--- a/textproc/eb/Makefile      Tue Dec 11 13:35:37 2007 +0000
+++ b/textproc/eb/Makefile      Tue Dec 11 14:49:25 2007 +0000
@@ -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_LIBTOOL=           YES
 GNU_CONFIGURE=         YES
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 CONFIGURE_ARGS+=       --with-zlib
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
 
@@ -79,12 +81,12 @@
 
 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"



Home | Main Index | Thread Index | Old Index