openbsd-ports/sysutils/cdrtools/Makefile
pvalchev 898c1b18a8 Remove jakemsr@ from maintainer position, as he has been inactive and
email has been bouncing for several months.  Jacob, if you get this
and/or get back to things, let us know.
2006-12-02 20:24:17 +00:00

55 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2006/12/02 20:24:17 pvalchev Exp $
COMMENT= "ISO 9660 filesystem and CD creation tools"
DISTNAME= cdrtools-2.01
PKGNAME= ${DISTNAME}p0
CATEGORIES= sysutils
HOMEPAGE= http://cdrecord.berlios.de/old/private/cdrecord.html
# 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>