aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/xfburn/Makefile
blob: 1a8e7bca497eaa0b8eef3c0f43144253d42e19a9 (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
39
40
41
42
43
44
45
46
47
48
# Created by: J.R. Oldroyd <fbsd@opal.com>
# $FreeBSD$

PORTNAME=   xfburn
PORTVERSION=    0.5.5
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   XFCE/apps
DIST_SUBDIR=    xfce4

MAINTAINER= xfce@FreeBSD.org
COMMENT=    CD/DVD burning tool for Xfce

LICENSE=    GPLv2

LIB_DEPENDS=    libburn.so:devel/libburn \
        libfontconfig.so:x11-fonts/fontconfig \
        libfreetype.so:print/freetype2 \
        libisofs.so:devel/libisofs
RUN_DEPENDS=    cdrdao:sysutils/cdrdao \
        ${LOCALBASE}/include/libburn/libburn.h:devel/libburn \
        ${LOCALBASE}/include/libisofs/libisofs.h:devel/libisofs

USES=       desktop-file-utils gettext-tools gmake gnome pkgconfig \
        tar:bzip2 xfce
USE_GNOME=  cairo glib20 gtk20 intlhack intltool
USE_XFCE=   libexo

GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS= --disable-gudev

OPTIONS_DEFINE=         GSTREAMER NLS
OPTIONS_DEFAULT=        GSTREAMER
OPTIONS_SUB=            yes

GSTREAMER_CONFIGURE_ENABLE= gstreamer
GSTREAMER_USE=          gstreamer1=yes,faac,flac,lame,vorbis,wavpack

NLS_CONFIGURE_ENABLE=       nls
NLS_USES=           gettext-runtime

post-patch:
    ${REINPLACE_CMD} -e 's|media-cdrom|media-optical|g' \
        ${WRKSRC}/desktop-integration/thunar-sendto-xfburn.desktop.in \
        ${WRKSRC}/xfburn.desktop.in

.include <bsd.port.mk>