pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ijb Add PKG_DESTDIR_SUPPORT, relinquish maintainer...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e3a9e7cb9b9
branches:  trunk
changeset: 554385:8e3a9e7cb9b9
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Feb 13 21:38:17 2009 +0000

description:
Add PKG_DESTDIR_SUPPORT, relinquish maintainership

diffstat:

 www/ijb/Makefile |  19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diffs (42 lines):

diff -r 95bccb5a6207 -r 8e3a9e7cb9b9 www/ijb/Makefile
--- a/www/ijb/Makefile  Fri Feb 13 21:36:08 2009 +0000
+++ b/www/ijb/Makefile  Fri Feb 13 21:38:17 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/01/07 09:14:15 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2009/02/13 21:38:17 abs Exp $
 #
 
 DISTNAME=      ijb20
@@ -8,23 +8,24 @@
 MASTER_SITES=  http://www.junkbuster.com/
 EXTRACT_SUFX=  .tar.Z
 
-MAINTAINER=    abs%NetBSD.org@localhost
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.junkbuster.com/
-COMMENT=       The Internet Junkbuster Proxy blocks unwanted banner ads and cookies
+COMMENT=       Internet Junkbuster Proxy to block banner ads and cookies
 
 MAKE_ENV+=     MORE_CFLAGS=${CFLAGS:M*:Q}
 
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/examples/junkbuster
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/junkbuster ${PREFIX}/bin
-       ${INSTALL_MAN} ${WRKSRC}/junkbuster.1 ${PREFIX}/${PKGMANDIR}/man1
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/junkbuster
+       ${INSTALL_PROGRAM} ${WRKSRC}/junkbuster ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/junkbuster.1 \
+                       ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
        ${INSTALL_DATA} ${WRKSRC}/junkbstr.ini \
-               ${PREFIX}/share/examples/junkbuster/junkbuster.ini
+               ${DESTDIR}${PREFIX}/share/examples/junkbuster/junkbuster.ini
 .for f in saclfile sblock scookie sforward strust
        ${INSTALL_DATA} ${WRKSRC}/${f}.ini \
-               ${PREFIX}/share/examples/junkbuster/${f}.ini
+               ${DESTDIR}${PREFIX}/share/examples/junkbuster/${f}.ini
 .endfor
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index