blob: 7ed2fd337549873fc271ce65fab7dc51d1a7e68d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# 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/ CENKES
MAINTAINER= ports@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
MAN1= durep.1
WWW_FILES= durep.cgi style.css bar.png
PLIST_FILES= bin/durep ${WWW_FILES:S,^,${WWWDIR_REL}/,}
PLIST_DIRS= ${WWWDIR_REL}
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 ${WWWDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/durep ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/durep.1 ${MAN1PREFIX}/man/man1/
${INSTALL_SCRIPT} ${WRKSRC}/durep.cgi ${WWWDIR}/
${INSTALL_DATA} ${WRKSRC}/style.css ${WRKSRC}/bar.png ${WWWDIR}/
.if !defined(NOPORTDOCS)
${INSTALL} -d ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S/^/${WRKSRC}\//} ${DOCSDIR}/
.endif
.include <bsd.port.mk>
|