39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.20 2013/03/10 22:55:01 espie Exp $
|
|
|
|
COMMENT= command-line utility to rip and encode audio cds
|
|
|
|
DISTNAME= abcde-2.5.4
|
|
CATEGORIES= audio
|
|
|
|
HOMEPAGE= http://code.google.com/p/abcde/
|
|
|
|
# Artistic or GPLv2, but "Copyright for this work is to expire
|
|
# January 1, 2010, after which it shall be public domain."
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= http://abcde.googlecode.com/files/
|
|
MASTER_SITES0= http://lly.org/~rcw/id3/ \
|
|
http://lly.org/~rcw/id3/old/
|
|
|
|
RUN_DEPENDS= audio/cdparanoia \
|
|
audio/cd-discid \
|
|
audio/id3lib \
|
|
audio/vorbis-tools \
|
|
shells/bash
|
|
|
|
NO_TEST= Yes
|
|
|
|
do-configure:
|
|
perl -pi -e 's,/etc/,${SYSCONFDIR}/,' ${WRKSRC}/abcde
|
|
${SUBST_CMD} ${WRKSRC}/abcde ${WRKSRC}/cddb-tool
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/abcde ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cddb-tool ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/abcde.1 ${PREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/cddb-tool.1 ${PREFIX}/man/man1
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/abcde
|
|
${INSTALL_DATA} ${WRKSRC}/abcde.conf ${PREFIX}/share/examples/abcde
|
|
|
|
.include <bsd.port.mk>
|