d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# New ports collection makefile for: frostwire
|
|
# Date created: 2007-04-20
|
|
# Whom: alepulver
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= frostwire
|
|
PORTVERSION= 4.13.1.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-p2p java
|
|
MASTER_SITES= http://station1.peercommons.com/frostwire/4.13.1/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}.noarch
|
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
|
COMMENT= A Java based Gnutella and Bittorrent client
|
|
|
|
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.3+
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/.7/.6/}
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
SUB_FILES= ${PORTNAME}.sh
|
|
|
|
post-extract:
|
|
@cd ${WRKSRC} && ${RM} -f *.so *.sh COPYING && \
|
|
${MV} changelog frostwire.desktop ..
|
|
@${FIND} ${WRKSRC} -type d -name .svn -print0 | ${XARGS} -0 ${RM} -rf
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
|
|
${MKDIR} ${DATADIR}
|
|
${CP} -R ${WRKSRC}/* ${DATADIR}
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/changelog ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|