2003-06-10 08:29:06 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2003/06/10 06:29:06 wiz Exp $
|
2001-08-16 08:12:57 +02:00
|
|
|
|
2003-06-10 08:29:06 +02:00
|
|
|
DISTNAME= abcde-2.1.4
|
2001-08-16 08:12:57 +02:00
|
|
|
CATEGORIES= audio
|
2003-06-10 08:29:06 +02:00
|
|
|
MASTER_SITES= http://www.hispalinux.es/~data/files/
|
2002-11-29 03:37:21 +01:00
|
|
|
DISTFILES= ${DISTNAME:S/-/_/}.orig.tar.gz
|
2001-08-16 08:12:57 +02:00
|
|
|
|
|
|
|
MAINTAINER= lukem@netbsd.org
|
|
|
|
HOMEPAGE= http://frantica.lly.org/~rcw/abcde/page/
|
|
|
|
COMMENT= Command-line utility to rip and encode an audio CD
|
|
|
|
|
2001-12-03 22:51:52 +01:00
|
|
|
DEPENDS+= cd-discid>=0.7:../../audio/cd-discid
|
2001-10-12 11:52:19 +02:00
|
|
|
DEPENDS+= id3-[0-9]*:../../audio/id3
|
2002-11-29 03:37:21 +01:00
|
|
|
DEPENDS+= id3v2-[0-9]*:../../audio/id3v2
|
2001-12-03 19:02:06 +01:00
|
|
|
DEPENDS+= cdparanoia>=3.0.9.7:../../audio/cdparanoia
|
2001-08-16 08:12:57 +02:00
|
|
|
DEPENDS+= wget>=1.7:../../net/wget
|
|
|
|
|
2001-08-16 09:06:03 +02:00
|
|
|
NO_BUILD= # defined
|
|
|
|
|
2002-11-29 03:37:21 +01:00
|
|
|
EGDIR= ${PREFIX}/share/examples/abcde
|
|
|
|
|
|
|
|
MESSAGE_SUBST+= EGDIR=${EGDIR}
|
2002-11-29 03:58:46 +01:00
|
|
|
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
|
2002-11-29 03:37:21 +01:00
|
|
|
|
2002-11-29 03:58:46 +01:00
|
|
|
pre-configure:
|
2003-06-10 08:29:06 +02:00
|
|
|
@cd ${WRKSRC} && for f in abcde; do \
|
2002-11-29 03:58:46 +01:00
|
|
|
${SED} "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR}," \
|
2002-11-29 03:37:21 +01:00
|
|
|
$$f > $$f.tmp && \
|
2001-08-16 08:12:57 +02:00
|
|
|
${MV} $$f.tmp $$f; \
|
|
|
|
done
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/abcde ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cddb-tool ${PREFIX}/bin
|
2002-11-29 03:37:21 +01:00
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/abcde.conf ${EGDIR}
|
2001-08-16 08:12:57 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/abcde.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/cddb-tool.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|