freebsd-ports/sysutils/cdrkit/Makefile
Mathieu Arnold 597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00

35 lines
960 B
Makefile

# Created by: Pav Lucistnik <pav@FreeBSD.org>
# $FreeBSD$
PORTNAME= cdrkit
PORTVERSION= 1.1.11
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://cdrkit.org/releases/ \
http://debburn.alioth.debian.org/
MAINTAINER= jharris@widomaker.com
COMMENT?= Command-line CD/DVD writing suite
RUN_DEPENDS?= ${PORTNAME}-genisoimage>0:sysutils/genisoimage
USES= cmake iconv perl5 shebangfix
USE_PERL5= run
SHEBANG_FILES= 3rd-party/dirsplit/dirsplit
CONFLICTS?= cdrtools-[0-9]* cjk-cdrtools-[0-9]* cdrtools-devel-[0-9]*
SLAVEDIRS= sysutils/genisoimage
PLIST_SUB?= CDRKIT="" GENISOIMAGE="@comment "
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/include/AddSchilyBits.cmake \
${WRKSRC}/3rd-party/dirsplit/CMakeLists.txt
@${REINPLACE_CMD} -e 's|fexecve|librols_fexecve|g' \
${WRKSRC}/librols/fexec.c \
${WRKSRC}/include/schily.h
@${REINPLACE_CMD} -e 's|getdelim|wodim_getdelim|g' ${WRKSRC}/wodim/cue.c
.include <bsd.port.mk>