2012-09-12 01:59:21 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 2012/09/11 23:59:24 asau Exp $
|
2004-06-06 09:20:12 +02:00
|
|
|
#
|
|
|
|
|
2004-10-28 22:14:51 +02:00
|
|
|
DISTNAME= applerecords-0.5
|
2006-07-07 06:06:15 +02:00
|
|
|
PKGREVISION= 1
|
2004-06-06 09:20:12 +02:00
|
|
|
CATEGORIES= audio
|
2007-03-04 12:29:57 +01:00
|
|
|
MASTER_SITES= #
|
2004-06-06 09:20:12 +02:00
|
|
|
EXTRACT_SUFX= .jar
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2007-03-04 12:29:57 +01:00
|
|
|
HOMEPAGE= http://web.archive.org/web/20060501054520/http://www.cdavies.org/applerecords.html
|
2004-06-06 09:20:12 +02:00
|
|
|
COMMENT= Java DAAP client
|
|
|
|
|
2005-05-26 00:55:20 +02:00
|
|
|
NO_BUILD= yes
|
2004-06-06 09:20:12 +02:00
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
USE_JAVA= run
|
|
|
|
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2006-07-07 06:06:15 +02:00
|
|
|
.include "../../mk/java-vm.mk"
|
|
|
|
|
2004-06-06 09:20:12 +02:00
|
|
|
do-extract:
|
2004-10-28 22:14:51 +02:00
|
|
|
${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.jar ${WRKSRC}
|
2004-06-06 09:20:12 +02:00
|
|
|
${SED} -e 's|@SH@|${SH}|g' -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/applerecords > ${WRKSRC}/applerecords
|
|
|
|
|
|
|
|
do-install:
|
2008-03-02 07:10:30 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/applerecords
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar \
|
|
|
|
${DESTDIR}${PREFIX}/lib/applerecords/applerecords.jar
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/applerecords ${DESTDIR}${PREFIX}/bin
|
2004-06-06 09:20:12 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|