summaryrefslogtreecommitdiffstats
path: root/sysutils/coaster/Makefile
blob: 0e390de68b771eae0ce14fb98dbb4bb661eed382 (plain)
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
# New ports collection makefile for:	coaster
# Date created:				11 Nov 2004
# Whom:					Mezz <mezz7@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/sysutils/coaster/Makefile,v 1.11 2005/10/14 20:39:58 adamw 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_AUTOTOOLS=	libtool:15:inc
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>
OpenPOWER on IntegriCloud