# New ports collection makefile for: durep # Date created: 14 February 2002 # Whom: Oliver Braun # # $FreeBSD$ # PORTNAME= durep PORTVERSION= 0.9 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.hibernaculum.net/download/ \ http://bsd.gubkin.ru/myports/ MAINTAINER= infofarmer@gmail.com 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