2006-12-02 15:24:17 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2006/12/02 20:24:17 pvalchev Exp $
|
2002-05-13 10:08:50 -04:00
|
|
|
|
|
|
|
COMMENT= "ISO 9660 filesystem and CD creation tools"
|
|
|
|
|
2004-11-30 00:44:02 -05:00
|
|
|
DISTNAME= cdrtools-2.01
|
2006-12-02 15:24:17 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2002-05-13 10:08:50 -04:00
|
|
|
CATEGORIES= sysutils
|
2005-05-25 18:50:18 -04:00
|
|
|
HOMEPAGE= http://cdrecord.berlios.de/old/private/cdrecord.html
|
2002-05-13 10:08:50 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-20 05:35:34 -05:00
|
|
|
WANTLIB= c ossaudio
|
2002-05-13 10:08:50 -04:00
|
|
|
|
2003-02-17 10:32:58 -05:00
|
|
|
MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/
|
2002-05-13 10:08:50 -04:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
|
|
|
MAKE_ENV= MAKEPROG=${MAKE_PROGRAM} \
|
|
|
|
CCOM=${CC}
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2004-11-30 00:44:02 -05:00
|
|
|
CDRMACH= ${MACHINE}-openbsd-${CC}
|
|
|
|
|
2002-05-13 10:08:50 -04:00
|
|
|
.if ${MACHINE} != "i386" || ${CC} != "cc"
|
|
|
|
do-configure:
|
|
|
|
@ln -sf ${WRKSRC}/RULES/i386-openbsd-cc.rul \
|
2004-11-30 00:44:02 -05:00
|
|
|
${WRKSRC}/RULES/${CDRMACH}.rul
|
2002-05-13 10:08:50 -04:00
|
|
|
.endif
|
|
|
|
|
2004-11-30 00:44:02 -05:00
|
|
|
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
|
2002-05-13 10:08:50 -04:00
|
|
|
@cd ${PREFIX}/man/man1; \
|
|
|
|
for i in devdump.1 isovfy.1 ; do \
|
|
|
|
ln -s isoinfo.1 $$i ; \
|
|
|
|
done
|
2004-11-30 00:44:02 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cdrtools
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.OpenBSD ${PREFIX}/share/doc/cdrtools
|
2002-05-13 10:08:50 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|