aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cdrkit/Makefile
blob: 355f1fc3dcba5f68583d9d4a054fdb6b18940545 (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
35
36
37
38
# New ports collection makefile for:    cdrkit
# Date created:             12 Dec 2007
# Whom:                 Pav Lucistnik <pav@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   cdrkit
PORTVERSION=    1.1.9
CATEGORIES= sysutils
MASTER_SITES=   http://cdrkit.org/releases/ \
        http://debburn.alioth.debian.org/

MAINTAINER= pav@FreeBSD.org
COMMENT=    Command-line CD/DVD writing suite

USE_CMAKE=  yes
CMAKE_USE_PTHREAD=  yes
USE_ICONV=  yes

MAN1=       cdda2ogg.1 devdump.1 dirsplit.1 genisoimage.1 icedax.1 \
        isodebug.1 isodump.1 isoinfo.1 isovfy.1 list_audio_tracks.1 \
        pitchplay.1 readmult.1 readom.1 wodim.1
MAN5=       genisoimagerc.5

CONFLICTS=  cdrtools-[0-9]* cjk-cdrtools-[0-9]* cdrtools-devel-[0-9]*

.include <bsd.port.pre.mk>

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.post.mk>