pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ca63f23b6404
branches:  trunk
changeset: 395237:ca63f23b6404
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 19:01:16 2009 +0000

description:
user-destdir support

diffstat:

 www/qDecoder/Makefile         |  14 ++++++++------
 www/qDecoder/distinfo         |   4 ++--
 www/qDecoder/patches/patch-aa |   4 ++--
 3 files changed, 12 insertions(+), 10 deletions(-)

diffs (68 lines):

diff -r 57a56030e656 -r ca63f23b6404 www/qDecoder/Makefile
--- a/www/qDecoder/Makefile     Tue Jul 07 19:00:51 2009 +0000
+++ b/www/qDecoder/Makefile     Tue Jul 07 19:01:16 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2008/11/27 21:15:36 minskim Exp $
+# $NetBSD: Makefile,v 1.10 2009/07/07 19:01:16 joerg Exp $
 #
 
 DISTNAME=      qDecoder-9.0.1
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://www.qDecoder.org/
 COMMENT=       Web Application Interface for C/C++ (CGI Library)
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE= YES
 USE_LIBTOOL=   YES
 INSTALLATION_DIRS=     include lib share/doc/qDecoder share/doc/qDecoder/html \
@@ -16,12 +18,12 @@
 
 post-install:
        cd ${WRKSRC}; ${INSTALL_DATA} AUTHORS CHANGES COPYING \
-               qDecoder.jpg ${PREFIX}/share/doc/qDecoder
-       cd ${WRKSRC}/src; ${INSTALL_DATA} qDecoder.h ${PREFIX}/include
-       cd ${WRKSRC}/doc/html; ${INSTALL_DATA} * ${PREFIX}/share/doc/qDecoder/html
+               qDecoder.jpg ${DESTDIR}${PREFIX}/share/doc/qDecoder
+       cd ${WRKSRC}/src; ${INSTALL_DATA} qDecoder.h ${DESTDIR}${PREFIX}/include
+       cd ${WRKSRC}/doc/html; ${INSTALL_DATA} * ${DESTDIR}${PREFIX}/share/doc/qDecoder/html
        cd ${WRKSRC}/examples; ${INSTALL_DATA} *.c *.conf s*.in \
-               *.html ${PREFIX}/share/examples/qDecoder
+               *.html ${DESTDIR}${PREFIX}/share/examples/qDecoder
        cd ${WRKSRC}/examples/qDecoder-upload; ${INSTALL_DATA} *.html *.js \
-               ${PREFIX}/share/examples/qDecoder/qDecoder-upload
+               ${DESTDIR}${PREFIX}/share/examples/qDecoder/qDecoder-upload
 
 .include "../../mk/bsd.pkg.mk"
diff -r 57a56030e656 -r ca63f23b6404 www/qDecoder/distinfo
--- a/www/qDecoder/distinfo     Tue Jul 07 19:00:51 2009 +0000
+++ b/www/qDecoder/distinfo     Tue Jul 07 19:01:16 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2008/11/27 21:15:36 minskim Exp $
+$NetBSD: distinfo,v 1.7 2009/07/07 19:01:16 joerg Exp $
 
 SHA1 (qDecoder-9.0.1.tar.gz) = 45cd8c6c8f73e92c0c77ec2ffa8bc8f80402213e
 RMD160 (qDecoder-9.0.1.tar.gz) = 765fb180e80ad55d0a379529af5c46fffd246db5
 Size (qDecoder-9.0.1.tar.gz) = 266821 bytes
-SHA1 (patch-aa) = 2427aa0f30240a451c0c607e50df5f36e4c5b721
+SHA1 (patch-aa) = b142b4be25c7efe6acc5f9e294bc66e0596ff63b
 SHA1 (patch-ab) = 4cc1889cd730bba9b4350cc49b738a7f534bc5ea
 SHA1 (patch-ac) = 127491d4e7cc90371e23d0c93b63ea514676e712
diff -r 57a56030e656 -r ca63f23b6404 www/qDecoder/patches/patch-aa
--- a/www/qDecoder/patches/patch-aa     Tue Jul 07 19:00:51 2009 +0000
+++ b/www/qDecoder/patches/patch-aa     Tue Jul 07 19:01:16 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2008/11/27 21:15:36 minskim Exp $
+$NetBSD: patch-aa,v 1.5 2009/07/07 19:01:17 joerg Exp $
 
 --- src/Makefile.in.orig       2008-11-17 16:55:36.000000000 +0900
 +++ src/Makefile.in
@@ -21,7 +21,7 @@
 -      ${INSTALL_DATA} ${SLIBREALNAME} ${LIBDIR}/${SLIBREALNAME}
 -      ${RM} -f ${LIBDIR}/${SLIBNAME}
 -      ${LN_S} ${LIBDIR}/${SLIBREALNAME} ${LIBDIR}/${SLIBNAME}
-+      ${LIBTOOL} --mode=install ${INSTALL} ${LIBNAME:.a=.la} ${LIBDIR}
++      ${LIBTOOL} --mode=install ${INSTALL} ${LIBNAME:.a=.la} ${DESTDIR}${LIBDIR}
  
  deinstall: uninstall
  uninstall:



Home | Main Index | Thread Index | Old Index