From b13a8b73d2a38ce36e37ed6e50e961edc7d9c3ba Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 31 Aug 2005 20:10:54 +0000 Subject: We no longer need to depend on cdrtools-cjk. The standard cdrtools port will work since n-c-b auto-detects whether or not mkisofs supports UTF-8 encoding. This means we can enable DVD support by default. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4669 df743ca5-7f9a-e211-a948-0013205c9059 --- sysutils/nautilus-cd-burner/Makefile | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'sysutils') diff --git a/sysutils/nautilus-cd-burner/Makefile b/sysutils/nautilus-cd-burner/Makefile index 16376a766..61935ee44 100644 --- a/sysutils/nautilus-cd-burner/Makefile +++ b/sysutils/nautilus-cd-burner/Makefile @@ -3,11 +3,12 @@ # Whom: Joe Marcus Clarke # # $FreeBSD$ -# $MCom: ports/sysutils/nautilus-cd-burner/Makefile,v 1.72 2005/08/10 03:00:16 marcus Exp $ +# $MCom: ports/sysutils/nautilus-cd-burner/Makefile,v 1.73 2005/08/23 00:25:46 marcus Exp $ # PORTNAME= nautilus-cd-burner PORTVERSION= 2.11.7 +PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.11 @@ -16,8 +17,6 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= CD burner view for Nautilus -RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools-cjk - USE_BZIP2= yes USE_X_PREFIX= yes USE_REINPLACE= yes @@ -31,22 +30,22 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ GCONF_SCHEMAS= ncb.schemas +OPTIONS= DVD "Enable DVD support" on \ + CJK "Use cdrtools-cjk instead of cdrtools" off + .include -.if exists(${LOCALBASE}/bin/growisofs) -WITH_DVD= yes +.if defined(WITH_CJK) +RUN_DEPENDS+= cdrecord:${PORTSDIR}/sysutils/cdrtools-cjk +WITHOUT_DVD= yes +.else +RUN_DEPENDS+= cdrecord:${PORTSDIR}/sysutils/cdrtools .endif -.if defined(WITH_DVD) +.if !defined(WITHOUT_DVD) RUN_DEPENDS+= growisofs:${PORTSDIR}/sysutils/dvd+rw-tools .endif -pre-everything:: - @${ECHO_MSG} "" - @${ECHO_MSG} "${PORTNAME} has the following configurable option(s):" - @${ECHO_MSG} " WITH_DVD Enable DVD burning support" - @${ECHO_MSG} "" - post-install: @${CAT} ${PKGMESSAGE} -- cgit v1.2.3