1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/net/edonkey-gui-java/Makefile
Mario Sergio Fujikawa Ferreira 5bb578428d Remove deprecated USE_SIZE
2004-12-25 11:43:58 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: eDonkey2000 Java GUI for 'core' client
# Date created: Fri Jan 4 23:59:44 BRST 2002
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= edonkey
PORTVERSION= 1.1.2
PORTREVISION= 2
CATEGORIES= net java
MASTER_SITES= http://www.edonkey2000.com/files/
PKGNAMESUFFIX= -gui-java
DISTNAME= ed2k_${PORTVERSION}
EXTRACT_SUFX= .jar
EXTRACT_ONLY=
MAINTAINER= lioux@FreeBSD.org
COMMENT= Java GUI to eDonkey2000 'core' command line client
RUN_DEPENDS= donkey:${PORTSDIR}/net/linux-edonkey-core
USE_JAVA= 1.3+
NO_BUILD= yes
NO_BUILD_DEPENDS_JAVA= yes
PLIST_SUB= JAR_DIR=${JAR_DIR} \
JAR_FILE=${JAR_FILE} \
WRAPPER=${PORTNAME}${PKGNAMESUFFIX}
JAVAVM= ${LOCALBASE}/bin/java
JAR_DIR= share/java/jar/${PORTNAME}
post-patch:
@${SED} -e "s|%%JAR_DIR%%|${JAR_DIR}|;s|%%JAR_FILE%%|${JAR_FILE}|; \
s|%%JAVA_VERSION%%|${USE_JAVA}|; \
s|%%JAVAVM%%|${JAVAVM}|;s|%%PREFIX%%|${PREFIX}|" \
${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
do-install:
@${MKDIR} ${PREFIX}/${JAR_DIR}
@${INSTALL_DATA} ${DISTDIR}/${JAR_FILE} ${PREFIX}/${JAR_DIR}
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
.include <bsd.port.pre.mk>
JAR_FILE= ${DISTNAME}.jar
.include <bsd.port.post.mk>