diff options
author | hq <hq@FreeBSD.org> | 2004-11-03 09:10:08 +0800 |
---|---|---|
committer | hq <hq@FreeBSD.org> | 2004-11-03 09:10:08 +0800 |
commit | bae4e44dc518eba57f8ba35a86575c2c212bd8d3 (patch) | |
tree | cccbbbb0df49ce2228c9d85bb07696e01c0a6622 /net-p2p/limewire/Makefile | |
parent | 5443aca199a85cb9abfe38aa3a1c97305a515a8f (diff) | |
download | freebsd-ports-gnome-bae4e44dc518eba57f8ba35a86575c2c212bd8d3.tar.gz freebsd-ports-gnome-bae4e44dc518eba57f8ba35a86575c2c212bd8d3.tar.zst freebsd-ports-gnome-bae4e44dc518eba57f8ba35a86575c2c212bd8d3.zip |
- Update to 4.0.8 [1]
- Update to bsd.java.mk 2.0
- Honor rules from the porter's handbook regarding Java ports (data files
installed in overriden DATADIR=${JAVASHAREDIR}/${PORTNAME})
- Removed pkg-plist by using PLIST_FILES
- Use a plain shell script rather than a patch for 'limewire' executable
- Register run dependency on java/javavmwrapper
PR: 71911 [1]
Submitted by: Nicolas Blais <nb_root@videotron.ca> [1]
Diffstat (limited to 'net-p2p/limewire/Makefile')
-rw-r--r-- | net-p2p/limewire/Makefile | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/net-p2p/limewire/Makefile b/net-p2p/limewire/Makefile index bd43e40d8c11..9667b649fb5e 100644 --- a/net-p2p/limewire/Makefile +++ b/net-p2p/limewire/Makefile @@ -6,7 +6,7 @@ # PORTNAME= limewire -PORTVERSION= 4.0.7 +PORTVERSION= 4.0.8 CATEGORIES= net java MASTER_SITES= http://www9.limewire.com:82/download/ DISTNAME= LimeWireLinux @@ -15,7 +15,10 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= A Java based gnutella client -USE_JAVA= 1.3+ +RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper + +USE_JAVA= yes +JAVA_VERSION= 1.3+ NO_BUILD= yes NO_WRKSUBDIR= yes @@ -23,17 +26,21 @@ RESTRICTED= License does not allow redistribution of any kind NO_CDROM= ${RESTRICTED} NO_PACKAGE= ${RESTRICTED} -JAR_DIR= ${PREFIX}/share/java/jar/limewire -PLIST_SUB= JAR_DIR="${JAR_DIR:S/${PREFIX}\///}" +DATADIR= ${JAVASHAREDIR}/${PORTNAME} +DATAFILES= LimeWire.jar MessagesBundle.properties MessagesBundles.jar \ + ProgressTabs.jar collections.jar commons-httpclient.jar \ + commons-logging.jar hashes i18n.jar icu4j.jar id3v2.jar \ + jl011.jar logicrypto.jar mp3sp14.jar themes.jar update.ver \ + xerces.jar xml.war +PLIST_FILES= bin/limewire ${DATAFILES:S,^,%%DATADIR%%/,} post-patch: - @${SED} 's|%%JAR_DIR%%|${JAR_DIR}|; s|%%LOCALBASE%%|${LOCALBASE}|' \ - ${WRKSRC}/runLime.sh > ${WRKSRC}/runLime.sh.sed + ${SED} 's|%%DATADIR%%|${DATADIR}|; s|%%LOCALBASE%%|${LOCALBASE}|' \ + ${FILESDIR}/limewire.sh > ${WRKSRC}/limewire do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/runLime.sh.sed ${PREFIX}/bin/limewire - @${MKDIR} ${JAR_DIR} - @${INSTALL_DATA} ${WRKSRC}/*.jar ${WRKSRC}/MessagesBundle.properties \ - ${WRKSRC}/xml.war ${WRKSRC}/update.ver ${WRKSRC}/hashes ${JAR_DIR} + ${INSTALL_SCRIPT} ${WRKSRC}/limewire ${PREFIX}/bin/ + ${MKDIR} ${DATADIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DATAFILES} ${DATADIR}/ .include <bsd.port.mk> |