pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/squidpurge Use proper INSTALL_* instead of INSTALL.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/36dd7454edfd
branches:  trunk
changeset: 500641:36dd7454edfd
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Oct 11 09:09:07 2005 +0000

description:
Use proper INSTALL_* instead of INSTALL.
Improve installation paths.
Add better HOMEPAGE.
Bump PKGREVISION for different binary package.

diffstat:

 www/squidpurge/Makefile |  10 ++++++----
 www/squidpurge/PLIST    |   5 +++--
 2 files changed, 9 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r ddb0e33b79f4 -r 36dd7454edfd www/squidpurge/Makefile
--- a/www/squidpurge/Makefile   Tue Oct 11 07:23:52 2005 +0000
+++ b/www/squidpurge/Makefile   Tue Oct 11 09:09:07 2005 +0000
@@ -1,13 +1,14 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/10/11 00:45:39 gdt Exp $
+# $NetBSD: Makefile,v 1.2 2005/10/11 09:09:07 wiz Exp $
 #
 
 DISTNAME=              purge-${PURGEVERSION}-src
 PKGNAME=               squidpurge-${PURGEVERSION}
+PKGREVISION=           1
 CATEGORIES=            www
 MASTER_SITES=          http://www.wa.apana.org.au/~dean/sources/
 
 MAINTAINER=            gdt%NetBSD.org@localhost
-HOMEPAGE=              http://www.wa.apana.org.au/~dean/sources/
+HOMEPAGE=              http://www.wa.apana.org.au/~dean/squidpurge/
 COMMENT=               Squid cache tool to list, extract or purge objects
 
 PURGEVERSION=          20040201
@@ -17,7 +18,8 @@
 USE_TOOLS+=    gmake
 
 do-install:
-       ${INSTALL} ${WRKSRC}/purge ${LOCALBASE}/bin/squidpurge
-       ${INSTALL} ${WRKSRC}/README ${LOCALBASE}/share/doc/squidpurge
+       ${INSTALL_PROGRAM} ${WRKSRC}/purge ${PREFIX}/bin/squidpurge
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/squidpurge
+       ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/squidpurge
 
 .include "../../mk/bsd.pkg.mk"
diff -r ddb0e33b79f4 -r 36dd7454edfd www/squidpurge/PLIST
--- a/www/squidpurge/PLIST      Tue Oct 11 07:23:52 2005 +0000
+++ b/www/squidpurge/PLIST      Tue Oct 11 09:09:07 2005 +0000
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/11 00:45:39 gdt Exp $
+@comment $NetBSD: PLIST,v 1.2 2005/10/11 09:09:07 wiz Exp $
 bin/squidpurge
-share/doc/squidpurge
+share/doc/squidpurge/README
+@dirrm share/doc/squidpurge



Home | Main Index | Thread Index | Old Index