pkgsrc/sysutils/cdrdao/Makefile

40 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.35 2012/10/23 19:50:54 asau Exp $
.include "../../sysutils/cdrdao/Makefile.common"
PKGREVISION= 1
PKGNAME= cdrdao-${CDRDAO_VER}
COMMENT= Records audio or data CD-Rs in disk-at-once (DAO) mode
CONFIGURE_ARGS+= --without-xdao
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
CONFIGURE_ARGS+= --without-posix-threads
.endif
post-install:
${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/share/doc/cdrdao
${INSTALL_MAN} ${WRKSRC}/README \
${WRKSRC}/README.PlexDAE \
${DESTDIR}${PREFIX}/share/doc/cdrdao
${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/share/doc/cdrdao/testtocs
${INSTALL_MAN} ${WRKSRC}/testtocs/*.toc \
${DESTDIR}${PREFIX}/share/doc/cdrdao/testtocs
${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/share/examples/cdrdao
${INSTALL_MAN} ${WRKSRC}/contrib/mp32dao/mp32dao.pl \
${DESTDIR}${PREFIX}/share/examples/cdrdao
${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/share/examples/cdrdao/psxcopy
${INSTALL_MAN} ${WRKSRC}/contrib/psxcopy-0.2/Makefile \
${WRKSRC}/contrib/psxcopy-0.2/README \
${WRKSRC}/contrib/psxcopy-0.2/cdjob.c \
${WRKSRC}/contrib/psxcopy-0.2/psxdump.c \
${WRKSRC}/contrib/psxcopy-0.2/read-psx \
${WRKSRC}/contrib/psxcopy-0.2/write-psx \
${DESTDIR}${PREFIX}/share/examples/cdrdao/psxcopy
${INSTALL_MAN} ${WRKSRC}/contrib/wav2dao/wav2dao.pl \
${DESTDIR}${PREFIX}/share/examples/cdrdao
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"