aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cdrkit/Makefile
blob: a28cd9dba105d6972a83964110d00c7b0755c0d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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>