openbsd-ports/misc/cdrdao/Makefile
2002-11-08 15:35:19 +00:00

39 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.18 2002/11/08 15:35:19 fgsch Exp $
COMMENT= "write audio/data CD-Rs in disk-at-once mode"
DISTNAME= cdrdao-1.1.7
CATEGORIES= audio misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cdrdao/}
DISTFILES= ${DISTNAME}.src${EXTRACT_SUFX}
HOMEPAGE= http://cdrdao.sourceforge.net/
MAINTAINER= Federico Schwindt <fgsch@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu dest
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/paranoia ${WRKSRC}/scsilib
CONFIGURE_ARGS+= --with-posix-threads=no --without-lame \
--with-gtkmm-prefix=/nonexistent
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
post-install:
@strip ${PREFIX}/bin/cdrdao ${PREFIX}/bin/toc2cue
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cdrdao
cd ${WRKDIST} && ${INSTALL_DATA} README README.PlexDAE \
${PREFIX}/share/doc/cdrdao
.include <bsd.port.mk>