1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/sysutils/durep/Makefile
Andrew Pantyukhin 02b5bafc95 - Update my e-mail address
Approved by:	krion (mentor, implicit)
2006-05-10 20:40:03 +00:00

47 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/ \
http://bsd.gubkin.ru/myports/
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>