From 9b2d757f4815e6e1e62a85838e843c6f6a0c975d Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sat, 26 Nov 2005 14:49:34 +0000 Subject: [PATCH] - Update to 0.9 - Take maintainership PR: ports/89573 Submitted by: Andrew Pantyukhin --- sysutils/durep/Makefile | 36 ++++++++++++++++++++++++----- sysutils/durep/distinfo | 6 ++--- sysutils/durep/files/patch-Makefile | 12 ---------- 3 files changed, 33 insertions(+), 21 deletions(-) delete mode 100644 sysutils/durep/files/patch-Makefile diff --git a/sysutils/durep/Makefile b/sysutils/durep/Makefile index 07a5a7f97af9..82f7cd48ed4a 100644 --- a/sysutils/durep/Makefile +++ b/sysutils/durep/Makefile @@ -6,19 +6,43 @@ # PORTNAME= durep -PORTVERSION= 0.8.1 +PORTVERSION= 0.9 CATEGORIES= sysutils -MASTER_SITES= http://www.hibernaculum.net/download/ +MASTER_SITES= http://www.hibernaculum.net/download/ \ + http://bsd.gubkin.ru/myports/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= infofarmer@gmail.com COMMENT= Utility for monitoring disk usage in a more visual way than du -DEPRECATED= unfetchable -- current version is 0.9 -EXPIRATION_DATE= 2006-01-26 +RUN_DEPENDS= ${SITE_PERL}/MLDBM.pm:${PORTSDIR}/databases/p5-MLDBM USE_PERL5= yes +NO_BUILD= yes +WWWDOCROOT?= www/data +WWWCGIROOT?= www/cgi-bin +DUREPCGI?= ${WWWCGIROOT}/durep +DUREPFILES?= ${WWWDOCROOT}/durep +DCGI= ${PREFIX}/${DUREPCGI} +DFILES= ${PREFIX}/${DUREPFILES} MAN1= durep.1 -PLIST_FILES= bin/durep +PLIST_FILES= bin/durep ${DUREPCGI}/durep.cgi ${DUREPFILES}/style.css \ + ${DUREPFILES}/bar.png +PLIST_DIRS= ${DUREPCGI} ${DUREPFILES} +PORTDOCS= Artistic BUGS CHANGES README THANKS + +doc: + pod2man --center="Disk Usage Report Generator" --release="durep version ${PORTVERSION}" ${WRKSRC}/durep.pod > ${WRKSRC}/durep.1 + +do-install: doc + ${INSTALL} -d ${DFILES} ${DCGI} + ${INSTALL_SCRIPT} ${WRKSRC}/durep ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/durep.1 ${MAN1PREFIX}/man/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/durep.cgi ${DCGI} + ${INSTALL_DATA} ${WRKSRC}/style.css ${WRKSRC}/bar.png ${DFILES} +.if !defined(NOPORTDOCS) + ${INSTALL} -d ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S#^#${WRKSRC}/#} ${DOCSDIR} +.endif .include diff --git a/sysutils/durep/distinfo b/sysutils/durep/distinfo index a750d0aeed93..d2b70db2c26b 100644 --- a/sysutils/durep/distinfo +++ b/sysutils/durep/distinfo @@ -1,3 +1,3 @@ -MD5 (durep-0.8.1.tar.gz) = 8ba5129d7fe8ced3f9cf53f6c123abae -SHA256 (durep-0.8.1.tar.gz) = 9242a3ca0afd6f38b344bb56eaaafe92dece805ac72c91ca47d7f3c66318992d -SIZE (durep-0.8.1.tar.gz) = 15581 +MD5 (durep-0.9.tar.gz) = fb6d09d48b02b150501f7e769087696f +SHA256 (durep-0.9.tar.gz) = 71605ebc4d25f6452e2aaa0119e9a6b7e753fe46ec2999e17311389a03016825 +SIZE (durep-0.9.tar.gz) = 13713 diff --git a/sysutils/durep/files/patch-Makefile b/sysutils/durep/files/patch-Makefile deleted file mode 100644 index 85e626f45328..000000000000 --- a/sysutils/durep/files/patch-Makefile +++ /dev/null @@ -1,12 +0,0 @@ ---- Makefile.orig Thu Feb 14 19:37:04 2002 -+++ Makefile Thu Feb 14 19:40:26 2002 -@@ -1,6 +1,8 @@ --PREFIX = /usr/local -+#PREFIX = /usr/local - VERSION = 0.8 - -+all: -+ - # Make documentation - doc: - pod2man --center="Disk Usage Report Generator" --release="durep version $(VERSION)" durep.pod > durep.1