pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/dillo user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2b16376be2fe
branches:  trunk
changeset: 395127:2b16376be2fe
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 14:24:05 2009 +0000

description:
user-destdir support

diffstat:

 www/dillo/Makefile |  14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 4b9d73ebecdd -r 2b16376be2fe www/dillo/Makefile
--- a/www/dillo/Makefile        Tue Jul 07 14:22:42 2009 +0000
+++ b/www/dillo/Makefile        Tue Jul 07 14:24:05 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2008/10/31 02:02:44 snj Exp $
+# $NetBSD: Makefile,v 1.43 2009/07/07 14:24:05 joerg Exp $
 
 DISTNAME=      dillo-2.0
 CATEGORIES=    www
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://www.dillo.org/
 COMMENT=       Very small and fast graphical web-browser
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LANGUAGES=         c c++
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
@@ -22,14 +24,14 @@
 CONF_FILES=    ${EGDIR}/dillorc ${PKG_SYSCONFDIR}/dillorc
 CONF_FILES+=   ${EGDIR}/dpidrc ${PKG_SYSCONFDIR}/dpidrc
 
+INSTALLATION_DIRS=     share/doc/dillo ${EGDIR}
+
 .include "options.mk"
 
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dillo
-       ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${PREFIX}/share/doc/dillo
-       ${INSTALL_DATA} ${WRKSRC}/doc/README ${PREFIX}/share/doc/dillo
-       ${INSTALL_DATA_DIR} ${EGDIR}
-       ${INSTALL_DATA} ${WRKSRC}/dillorc ${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/share/doc/dillo
+       ${INSTALL_DATA} ${WRKSRC}/doc/README ${DESTDIR}${PREFIX}/share/doc/dillo
+       ${INSTALL_DATA} ${WRKSRC}/dillorc ${DESTDIR}${EGDIR}
 
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index