summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-09-01 04:10:54 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-09-01 04:10:54 +0800
commitb13a8b73d2a38ce36e37ed6e50e961edc7d9c3ba (patch)
tree05473f2fccd1026fab4c0790bba30cc4b9b3a3be /sysutils
parent715b6f04f502935760f9e26ad93f34a20ad938fe (diff)
downloadmarcuscom-ports-b13a8b73d2a38ce36e37ed6e50e961edc7d9c3ba.tar
marcuscom-ports-b13a8b73d2a38ce36e37ed6e50e961edc7d9c3ba.tar.gz
marcuscom-ports-b13a8b73d2a38ce36e37ed6e50e961edc7d9c3ba.tar.bz2
marcuscom-ports-b13a8b73d2a38ce36e37ed6e50e961edc7d9c3ba.tar.lz
marcuscom-ports-b13a8b73d2a38ce36e37ed6e50e961edc7d9c3ba.tar.xz
marcuscom-ports-b13a8b73d2a38ce36e37ed6e50e961edc7d9c3ba.tar.zst
marcuscom-ports-b13a8b73d2a38ce36e37ed6e50e961edc7d9c3ba.zip
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
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/nautilus-cd-burner/Makefile23
1 files changed, 11 insertions, 12 deletions
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 <marcus@FreeBSD.org>
#
# $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 <bsd.port.pre.mk>
-.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}