summaryrefslogtreecommitdiffstats
path: root/sysutils/nautilus-cd-burner/Makefile
blob: 3c0b466d41e0202a653d503400d660ebd2a44311 (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
# New ports collection makefile for:    nautilus-cd-burner
# Date created:             13 April 2003
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   nautilus-cd-burner
PORTVERSION=    0.4.3
CATEGORIES= sysutils gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.4
DIST_SUBDIR=    gnome2

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

RUN_DEPENDS=    mkisofs:${PORTSDIR}/sysutils/mkisofs \
        cdrecord:${PORTSDIR}/sysutils/cdrtools

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_REINPLACE=  yes
USE_GMAKE=  yes
GNOME_DESKTOP_VERSION=2
USE_GNOME=  gnomeprefix gnomehack nautilus2
USE_LIBTOOL=    yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
         s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>