diff options
author | pav <pav@FreeBSD.org> | 2007-03-24 22:04:36 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2007-03-24 22:04:36 +0800 |
commit | 3e32701b9f418b2a116f23f45273f81622a20834 (patch) | |
tree | 5e4faebb47590f6e64af256b4b2c207bb57fc0d6 /sysutils | |
parent | 1b95307a29820e5b97fcc60a906b3ae93ea5a9f0 (diff) | |
download | freebsd-ports-gnome-3e32701b9f418b2a116f23f45273f81622a20834.tar.gz freebsd-ports-gnome-3e32701b9f418b2a116f23f45273f81622a20834.tar.zst freebsd-ports-gnome-3e32701b9f418b2a116f23f45273f81622a20834.zip |
- WWWDIR is now defined in bsd.ports.mk
PR: ports/105529
Submitted by: laszlof
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/durep/Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/sysutils/durep/Makefile b/sysutils/durep/Makefile index 325bfd7a3bd5..e549a00668ee 100644 --- a/sysutils/durep/Makefile +++ b/sysutils/durep/Makefile @@ -17,26 +17,22 @@ 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} +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 ${DIR} + ${INSTALL} -d ${WWWDIR} ${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}/ + ${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}/ |