openbsd-ports/sysutils/cdrtools/Makefile

51 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2003/05/17 01:12:23 brad Exp $
COMMENT= "ISO 9660 filesystem and CD creation tools"
DISTNAME= cdrtools-2.0
PKGNAME= ${DISTNAME}p1
CATEGORIES= sysutils
HOMEPAGE= http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/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
MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/
USE_GMAKE= Yes
FAKE_FLAGS= INS_BASE=${WRKINST}${PREFIX} \
INSUSR=${BINOWN} \
INSGRP=${BINGRP} \
INSMODEX=${BINMODE} \
INSMODEF=${SHAREMODE} \
MANSECT=man1 \
MANSUFFIX=1
MAKE_ENV= MAKEPROG=${MAKE_PROGRAM} \
CCOM=${CC}
NO_REGRESS= Yes
.if ${MACHINE} != "i386" || ${CC} != "cc"
do-configure:
@ln -sf ${WRKSRC}/RULES/i386-openbsd-cc.rul \
${WRKSRC}/RULES/${MACHINE}-openbsd-${CC}.rul
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cdrtools
${INSTALL_DATA} ${WRKSRC}/README.OpenBSD ${PREFIX}/share/doc/cdrtools
@strip ${PREFIX}/bin/*
@cd ${PREFIX}/man/man1; \
for i in devdump.1 isovfy.1 ; do \
ln -s isoinfo.1 $$i ; \
done
.include <bsd.port.mk>