openbsd-ports/sysutils/cdrtools/Makefile
2005-05-25 22:50:18 +00:00

56 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2005/05/25 22:50:18 fgsch Exp $
COMMENT= "ISO 9660 filesystem and CD creation tools"
DISTNAME= cdrtools-2.01
CATEGORIES= sysutils
HOMEPAGE= http://cdrecord.berlios.de/old/private/cdrecord.html
MAINTAINER= Jacob Meuser <jakemsr@jakemsr.com>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c ossaudio
MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/
USE_GMAKE= Yes
MAKE_ENV= MAKEPROG=${MAKE_PROGRAM} \
CCOM=${CC}
NO_REGRESS= Yes
CDRMACH= ${MACHINE}-openbsd-${CC}
.if ${MACHINE} != "i386" || ${CC} != "cc"
do-configure:
@ln -sf ${WRKSRC}/RULES/i386-openbsd-cc.rul \
${WRKSRC}/RULES/${CDRMACH}.rul
.endif
do-install:
@cp ${WRKSRC}/mkisofs/mkisofs.8 ${WRKSRC}/mkisofs/mkisofs.1
.for PROG in cdda2wav cdrecord mkisofs readcd
${INSTALL_PROGRAM} ${WRKBUILD}/${PROG}/OBJ/${CDRMACH}/${PROG} \
${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PROG}/${PROG}.1 ${PREFIX}/man/man1
.endfor
.for PROG in devdump isodebug isodump isoinfo isovfy
${INSTALL_PROGRAM} ${WRKBUILD}/mkisofs/diag/OBJ/${CDRMACH}/${PROG} \
${PREFIX}/bin
.endfor
${INSTALL_MAN} ${WRKSRC}/mkisofs/diag/isoinfo.8 \
${PREFIX}/man/man1/isoinfo.1
@cd ${PREFIX}/man/man1; \
for i in devdump.1 isovfy.1 ; do \
ln -s isoinfo.1 $$i ; \
done
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cdrtools
${INSTALL_DATA} ${WRKSRC}/README.OpenBSD ${PREFIX}/share/doc/cdrtools
.include <bsd.port.mk>