2001-11-20 00:07:05 +00:00
|
|
|
# New ports collection makefile for: XNap
|
|
|
|
# Date created: Mon Nov 19 22:02:27 BRST 2001
|
|
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= XNap
|
2003-04-25 16:49:20 +00:00
|
|
|
PORTVERSION= 2.5.p1
|
2003-06-02 15:51:38 +00:00
|
|
|
CATEGORIES= net audio java
|
2001-11-20 00:07:05 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:L}
|
2002-11-12 15:39:58 +00:00
|
|
|
DISTNAME= ${PORTNAME:L}-${PORTVERSION:S/.p/-pre/:S/.b/-beta/}
|
2001-11-20 00:07:05 +00:00
|
|
|
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
2003-02-23 19:58:35 +00:00
|
|
|
COMMENT= A pure java napster client; also, supports OpenNap & giFT (FastTrack)
|
2001-11-20 00:07:05 +00:00
|
|
|
|
2002-03-28 14:48:49 +00:00
|
|
|
USE_JAVA= 1.3+
|
2001-11-20 00:07:05 +00:00
|
|
|
NO_BUILD= yes
|
2002-03-29 16:19:23 +00:00
|
|
|
NO_BUILD_DEPENDS_JAVA= yes
|
2001-11-20 00:07:05 +00:00
|
|
|
PLIST_SUB= JAR_DIR=${JAR_DIR}
|
|
|
|
|
|
|
|
JAVAVM= ${LOCALBASE}/bin/javavm
|
|
|
|
JAR_DIR= share/java/jar/${PORTNAME}
|
|
|
|
|
2003-03-27 19:44:14 +00:00
|
|
|
DOC_FILES= AUTHORS COPYING COPYING.LIB NEWS README \
|
2001-11-20 00:07:05 +00:00
|
|
|
TODO
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${SED} -e "s|%%JAR_DIR%%|${JAR_DIR}|;s|%%JAVAVM%%|${JAVAVM}|; \
|
|
|
|
s|%%PREFIX%%|${PREFIX}|" \
|
|
|
|
${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/${JAR_DIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/xnap.jar ${PREFIX}/${JAR_DIR}
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${PORTNAME:L}
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for doc in ${DOC_FILES}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|