freebsd-ports/net-p2p/torrentvolve/Makefile
Alejandro Pulver 9e9ed6bcb1 - Add to 'www' category.
- Use WWWDIR which is already correctly defined instead of DATDADIR.
- Install files in the correct place, not under a subdirectory with the same
  name, which fixes plist.
2007-05-26 00:50:13 +00:00

37 lines
780 B
Makefile

# New ports collection makefile for: torrentvolve
# Date created: 2007-04-19
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= torrentvolve
DISTVERSION= 1.4-beta
CATEGORIES= net-p2p java www
PORTREVISION= 1
MASTER_SITES= SF
MAINTAINER= alepulver@FreeBSD.org
COMMENT= Cross-platform PHP-driven web-based BitTorrent client
RUN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.5+
USE_PHP= simplexml
NO_BUILD= yes
NO_WRKSUBDIR= yes
post-patch:
@${RM} ${WRKSRC}/site/lib/torrentmodules/tvAzureusBridge/tvTelnetClient/client.php.orig
do-install:
${MKDIR} ${WWWDIR}
cd ${WRKSRC} && ${CP} -R config site ${WWWDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/INSTALL.TXT ${DOCSDIR}
.endif
.include <bsd.port.mk>