summaryrefslogtreecommitdiffstats
path: root/sysutils/nautilus-cd-burner/Makefile
blob: 1c1b330b2bb9dfa0c58968dd905647029e40e15e (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# New ports collection makefile for:    nautilus-cd-burner
# Date created:             13 April 2003
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/sysutils/nautilus-cd-burner/Makefile,v 1.124 2007/01/29 01:35:53 marcus Exp $
#

PORTNAME=   nautilus-cd-burner
PORTVERSION=    2.17.6
PORTREVISION=   1
CATEGORIES= sysutils gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    CD burner view for Nautilus

RUN_DEPENDS=    cdrdao:${PORTSDIR}/sysutils/cdrdao

USE_BZIP2=  yes
USE_GETTEXT=    yes
USE_XLIB=   yes
USE_GMAKE=  yes
GNOME_DESKTOP_VERSION=2
USE_GNOME=  gnomeprefix gnomehack intlhack nautilus2 ltverhack \
        desktopfileutils
USE_CDRTOOLS=   yes
INSTALLS_ICONS= yes
USE_AUTOTOOLS=  libtool:15
USE_LDCONFIG=   yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

GCONF_SCHEMAS=  nautilus-cd-burner.schemas

OPTIONS=    DVD "Enable DVD support" on \
        CJK "Use cdrtools-cjk instead of cdrtools" off \
        GNOMEMOUNT "Enable sysutils/gnome-mount support" off

.include <bsd.port.pre.mk>

.if defined(WITH_CJK)
WITHOUT_DVD=    yes
.endif

.if !defined(WITHOUT_DVD)
RUN_DEPENDS+=   growisofs:${PORTSDIR}/sysutils/dvd+rw-tools
.endif

.if defined(WITH_GNOMEMOUNT)
BUILD_DEPENDS+= gnome-mount:${PORTSDIR}/sysutils/gnome-mount
RUN_DEPENDS+=   gnome-mount:${PORTSDIR}/sysutils/gnome-mount
CONFIGURE_ARGS+=    --enable-gnome-mount
.else
CONFIGURE_ARGS+=    --disable-gnome-mount
.endif

post-install:
    -@update-desktop-database
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>