freebsd-ports/sysutils/durep/Makefile
Andrew Pantyukhin c36ad3d129 - Provide additional mirrors where needed
- Convert to "magic" master sites
- Various minor portlint-prodded fixes
2006-07-30 22:46:04 +00:00

45 lines
1.3 KiB
Makefile

# New ports collection makefile for: durep
# Date created: 14 February 2002
# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de>
#
# $FreeBSD$
#
PORTNAME= durep
PORTVERSION= 0.9
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.hibernaculum.net/download/ CSME
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Utility for monitoring disk usage in a more visual way than du
RUN_DEPENDS= ${SITE_PERL}/MLDBM.pm:${PORTSDIR}/databases/p5-MLDBM
USE_PERL5= yes
WWWDOCROOT?= www
WWWSUBDIR?= ${PORTNAME}
WWWDIR?= ${WWWDOCROOT}/${WWWSUBDIR}
DIR?= ${PREFIX}/${WWWDIR}
MAN1= durep.1
WWW_FILES= durep.cgi style.css bar.png
PLIST_FILES= bin/durep ${WWW_FILES:S/^/${WWWDIR}\//}
PLIST_DIRS= ${WWWDIR}
PORTDOCS= Artistic BUGS CHANGES README THANKS
do-build:
pod2man --center="Disk Usage Report Generator" --release="durep version ${PORTVERSION}" ${WRKSRC}/durep.pod > ${WRKSRC}/durep.1
do-install:
${INSTALL} -d ${DIR}
${INSTALL_SCRIPT} ${WRKSRC}/durep ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/durep.1 ${MAN1PREFIX}/man/man1/
${INSTALL_SCRIPT} ${WRKSRC}/durep.cgi ${DIR}/
${INSTALL_DATA} ${WRKSRC}/style.css ${WRKSRC}/bar.png ${DIR}/
.if !defined(NOPORTDOCS)
${INSTALL} -d ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S/^/${WRKSRC}\//} ${DOCSDIR}/
.endif
.include <bsd.port.mk>