summaryrefslogtreecommitdiff
path: root/audio/applerecords/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/applerecords/Makefile')
-rw-r--r--audio/applerecords/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/audio/applerecords/Makefile b/audio/applerecords/Makefile
index fd1937835b2..961e67a99f7 100644
--- a/audio/applerecords/Makefile
+++ b/audio/applerecords/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/06/06 07:20:12 agc Exp $
+# $NetBSD: Makefile,v 1.2 2004/10/28 20:14:51 lha Exp $
#
-DISTNAME= applerecords
-PKGNAME= applerecords-0.4
+DISTNAME= applerecords-0.5
CATEGORIES= audio
MASTER_SITES= http://www.cdavies.org/code/
EXTRACT_SUFX= .jar
@@ -11,18 +10,17 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.cdavies.org/applerecords.html
COMMENT= Java DAAP client
-DIST_SUBDIR= ${PKGNAME}
NO_BUILD= # defined
WRKSRC= ${WRKDIR}
USE_JAVA= run
do-extract:
- ${CP} ${DISTDIR}/${DIST_SUBDIR}/applerecords.jar ${WRKSRC}
+ ${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} ${PREFIX}/lib/applerecords
- ${INSTALL_DATA} ${WRKSRC}/applerecords.jar ${PREFIX}/lib/applerecords/applerecords.jar
+ ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${PREFIX}/lib/applerecords/applerecords.jar
${INSTALL_SCRIPT} ${WRKSRC}/applerecords ${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"