2002-11-08 10:35:19 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2002/11/08 15:35:19 fgsch Exp $
|
2001-05-05 18:28:51 -04:00
|
|
|
|
2001-05-09 23:21:59 -04:00
|
|
|
COMMENT= "write audio/data CD-Rs in disk-at-once mode"
|
2000-06-12 17:34:38 -04:00
|
|
|
|
2002-11-08 10:35:19 -05:00
|
|
|
DISTNAME= cdrdao-1.1.7
|
2000-06-12 18:32:31 -04:00
|
|
|
CATEGORIES= audio misc
|
2002-05-13 19:31:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cdrdao/}
|
2000-06-12 18:32:31 -04:00
|
|
|
DISTFILES= ${DISTNAME}.src${EXTRACT_SUFX}
|
2000-06-12 17:34:38 -04:00
|
|
|
|
2001-05-09 23:21:59 -04:00
|
|
|
HOMEPAGE= http://cdrdao.sourceforge.net/
|
2001-03-05 02:46:52 -05:00
|
|
|
|
2000-10-22 12:09:13 -04:00
|
|
|
MAINTAINER= Federico Schwindt <fgsch@openbsd.org>
|
2000-06-12 17:34:38 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
2002-11-08 10:35:19 -05:00
|
|
|
CONFIGURE_STYLE= gnu dest
|
2001-09-28 02:02:12 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/paranoia ${WRKSRC}/scsilib
|
2002-11-08 10:35:19 -05:00
|
|
|
CONFIGURE_ARGS+= --with-posix-threads=no --without-lame \
|
|
|
|
--with-gtkmm-prefix=/nonexistent
|
2001-10-03 12:08:48 -04:00
|
|
|
MAKE_ENV= CCOM="${CC}"
|
|
|
|
|
|
|
|
.if ${MACHINE} != "i386" || ${CC} != "cc"
|
|
|
|
pre-configure:
|
|
|
|
@ln -sf ${WRKSRC}/scsilib/RULES/i386-openbsd-cc.rul \
|
|
|
|
${WRKSRC}/scsilib/RULES/${MACHINE}-openbsd-${CC}.rul
|
|
|
|
.endif
|
2000-06-12 17:34:38 -04:00
|
|
|
|
|
|
|
post-install:
|
2002-11-08 10:35:19 -05:00
|
|
|
@strip ${PREFIX}/bin/cdrdao ${PREFIX}/bin/toc2cue
|
2000-06-12 17:34:38 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cdrdao
|
|
|
|
cd ${WRKDIST} && ${INSTALL_DATA} README README.PlexDAE \
|
|
|
|
${PREFIX}/share/doc/cdrdao
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|