1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Make DVD works correct by default for s|/dev/dvd|${DEFAULT_DVD_DEVICE}/g. Bump

the PORTREVISION. While I am here, remove FreeBSD 4.x stuff.

Reported by:	tmclaugh
This commit is contained in:
Jeremy Messenger 2007-04-23 04:13:24 +00:00
parent 46f05bb88c
commit 54b64076ff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190678

View File

@ -8,7 +8,7 @@
PORTNAME= totem
PORTVERSION= 2.18.1
PORTREVISION?= 0
PORTREVISION?= 1
CATEGORIES= multimedia gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@ -81,12 +81,8 @@ LIB_DEPENDS+= dvdnav.4:${PORTSDIR}/multimedia/libdvdnav
.if defined(WITH_DVD_DEVICE)
DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE}
.else
.if ${OSVERSION} < 500000
DEFAULT_DVD_DEVICE=/dev/acd0c
.else
DEFAULT_DVD_DEVICE=/dev/acd0
.endif
.endif
pre-everything::
@${ECHO_MSG} "===> The default DVD device is ${DEFAULT_DVD_DEVICE}"
@ -101,10 +97,8 @@ post-patch:
${WRKSRC}/browser-plugin/idl/Makefile.in
@${REINPLACE_CMD} -e 's|dbus >= 0.61|dbus-1 >= 0.61|g' \
${WRKSRC}/configure
.if defined(WITH_GSTREAMER)
@${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|' \
${WRKSRC}/src/backend/bacon-video-widget-gst-0.10.c
.endif
post-install:
@-update-desktop-database