2001-05-05 22:29:37 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2001/05/06 02:29:54 lebel Exp $
|
|
|
|
|
|
|
|
COMMENT= "creates CD's on a CD-Recorder"
|
2001-03-23 10:56:04 -05:00
|
|
|
|
|
|
|
# It's pretty easy to add other architectures,
|
|
|
|
# mail me if you miss a particular one.
|
|
|
|
ONLY_FOR_ARCHS= alpha amiga arc i386 mac68k mvme68k powerpc sparc sun3
|
1998-06-07 12:20:37 -04:00
|
|
|
|
2000-09-18 18:18:57 -04:00
|
|
|
DISTNAME= cdrecord-1.9
|
1998-06-07 12:20:37 -04:00
|
|
|
CATEGORIES= misc
|
2001-05-05 22:29:37 -04:00
|
|
|
NEED_VERSION= 1.402
|
1998-06-07 12:20:37 -04:00
|
|
|
MASTER_SITES= ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/
|
|
|
|
|
2000-10-22 10:02:46 -04:00
|
|
|
MAINTAINER= Niklas Hallqvist <niklas@openbsd.org>
|
1998-06-07 12:20:37 -04:00
|
|
|
|
2000-04-20 09:52:58 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2000-04-20 09:52:58 -04:00
|
|
|
USE_GMAKE= Yes
|
2001-03-23 10:56:04 -05:00
|
|
|
MAKE_ENV= MAKEPROG="${MAKE_PROGRAM}"
|
1998-06-07 12:20:37 -04:00
|
|
|
|
|
|
|
# Cdrecord's standard install rule installs some unnecessary stuff,
|
|
|
|
# we instead explicitly install what we want.
|
|
|
|
OBJDIR= OBJ/${MACHINE}-openbsd-$(CC)
|
2001-03-23 10:56:04 -05:00
|
|
|
|
1998-06-07 12:20:37 -04:00
|
|
|
do-install:
|
2000-04-20 09:52:58 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cdrecord
|
1998-06-07 12:20:37 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/${OBJDIR}/cdrecord ${PREFIX}/bin
|
2001-05-05 22:29:37 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cdda2wav/${OBJDIR}/cdda2wav ${PREFIX}/bin
|
1999-08-26 21:58:28 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/cdrecord/cdrecord.1 ${PREFIX}/man/man1
|
2001-05-05 22:29:37 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2wav.1 ${PREFIX}/man/man1
|
1999-08-26 21:58:28 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cdrecord
|
1998-06-07 12:20:37 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|