pkgsrc/audio/applerecords/Makefile
2008-03-02 06:10:30 +00:00

34 lines
909 B
Makefile

# $NetBSD: Makefile,v 1.8 2008/03/02 06:10:31 jlam Exp $
#
DISTNAME= applerecords-0.5
PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= #
EXTRACT_SUFX= .jar
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://web.archive.org/web/20060501054520/http://www.cdavies.org/applerecords.html
COMMENT= Java DAAP client
PKG_DESTDIR_SUPPORT= user-destdir
NO_BUILD= yes
WRKSRC= ${WRKDIR}
USE_JAVA= run
INSTALLATION_DIRS= bin
.include "../../mk/java-vm.mk"
do-extract:
${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.jar ${WRKSRC}
${SED} -e 's|@SH@|${SH}|g' -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/applerecords > ${WRKSRC}/applerecords
do-install:
${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
.include "../../mk/bsd.pkg.mk"