summaryrefslogtreecommitdiffstats
path: root/sysutils/coaster/Makefile
blob: 65d7106d24d5ab4f89663642149035be61751dc7 (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
# New ports collection makefile for:    coaster
# Date created:             11 Nov 2004
# Whom:                 Mezz <mezz7@FreeBSD.org>
#
# $FreeBSD: ports/sysutils/coaster/Makefile,v 1.4 2005/04/19 17:18:30 mezz Exp $
#

PORTNAME=   coaster
PORTVERSION=    0.1.4.2
PORTREVISION=   2
CATEGORIES= sysutils gnome
#MASTER_SITES=  http://www.coaster-burn.org/files/coaster/
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= mezz

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A disc burning application for Gnome 2

LIB_DEPENDS=    gconfmm-2.6:${PORTSDIR}/devel/gconfmm26 \
        glademm-2.4:${PORTSDIR}/devel/libglademm24 \
        gnomevfsmm-2.6:${PORTSDIR}/devel/gnome-vfsmm \
        xml\\+\\+-2.6:${PORTSDIR}/textproc/libxml++26

USE_GNOME=  gnomehack gnomeprefix gnometarget intlhack desktopfileutils \
        nautiluscdburner
USE_GCC=    3.4
USE_GMAKE=  yes
USE_X_PREFIX=   yes
INSTALLS_OMF=   yes
USE_INC_LIBTOOL_VER=15
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

DOCS=       AUTHORS COPYING ChangeLog NEWS README TODO
GCONF_SCHEMAS=  coaster.schemas

BROKEN= "Broken with new nautilus-cd-burner"

patch-autotools:
    @(cd ${PATCH_WRKSRC}; \
    for file in ${LIBTOOLFILES}; do \
        ${CP} $$file $$file.tmp; \
        ${SED} -e "/^ltmain=/s^\$$ac_aux_dir/ltmain.sh^${LTMAIN}^g" \
            $$file.tmp > $$file; \
        ${RM} $$file.tmp; \
    done);

post-install:
    @-update-desktop-database
.ifndef (NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
    @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>