2016-09-02 22:22:07 +00:00

40 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.25 2016/09/02 22:22:07 ajacoutot Exp $
COMMENT= command-line utility to rip and encode audio cds
DISTNAME= abcde-2.7.2
CATEGORIES= audio
HOMEPAGE= http://abcde.einval.com/
# 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.einval.com/download/
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
pre-configure:
sed -i "s,/bin/bash,/usr/bin/env bash," \
${WRKSRC}/abcde ${WRKSRC}/cddb-tool
sed -i "s,/etc/,${SYSCONFDIR}/," ${WRKSRC}/abcde
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>