diff options
author | pav <pav@FreeBSD.org> | 2004-02-19 21:40:08 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-02-19 21:40:08 +0800 |
commit | 74893b48592a2e41e9ceca509b63ff58b9333861 (patch) | |
tree | 7be8718c292131fc676b34f6ef407a164bd530ba /multimedia | |
parent | c9bb8efd373d648209e217ec3c05afb9cfe7aa16 (diff) | |
download | freebsd-ports-gnome-74893b48592a2e41e9ceca509b63ff58b9333861.tar.gz freebsd-ports-gnome-74893b48592a2e41e9ceca509b63ff58b9333861.tar.zst freebsd-ports-gnome-74893b48592a2e41e9ceca509b63ff58b9333861.zip |
- Update to 0.7.2
- Be a bit more clever about default device on 5.x
PR: ports/62237
Submitted by: pav
Approved by: maintainer timeout (18 days)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/goggles/Makefile | 22 | ||||
-rw-r--r-- | multimedia/goggles/distinfo | 4 |
2 files changed, 11 insertions, 15 deletions
diff --git a/multimedia/goggles/Makefile b/multimedia/goggles/Makefile index debcef877d6e..4c8231d89087 100644 --- a/multimedia/goggles/Makefile +++ b/multimedia/goggles/Makefile @@ -6,8 +6,7 @@ # PORTNAME= Goggles -PORTVERSION= 0.5.6 -PORTREVISION= 2 +PORTVERSION= 0.7.2 CATEGORIES= multimedia MASTER_SITES= http://www.fifthplanet.net/files/ @@ -28,11 +27,11 @@ CONFIGURE_ARGS= --with-dvdcontrol=${LOCALBASE} \ --with-fox=${LOCALBASE} \ --x-includes=${X11BASE}/include \ --x-libraries=${X11BASE}/lib -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +WRKSRC= ${WRKDIR}/${PORTNAME:S/G/g/}-${PORTVERSION} pre-everything:: .ifndef(WITH_DVD_DEVICE) - @${ECHO_MSG} '===> The default DVD device is /dev/acd0c' + @${ECHO_MSG} '===> The default DVD device is ${DEFAULT_DVD_DEVICE}' @${ECHO_MSG} "===> You can choose any DVD device at Ogle's command line" @${ECHO_MSG} '===> Define WITH_DVD_DEVICE if you want to change the default' @${ECHO_MSG} "===> For example, 'make WITH_DVD_DEVICE=\"/dev/somedevice\"'" @@ -43,20 +42,17 @@ pre-everything:: .ifdef(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 post-patch: # point to specific device @${REINPLACE_CMD} -E -e \ - 's|\"/dev/dvd\"|\"${DEFAULT_DVD_DEVICE}\"|' \ - ${WRKSRC}/src/dvdwindow.cpp -# hack to enable correct CPPFLAGS - @${REINPLACE_CMD} -E -e \ - 's|@CPPFLAGS@|${CPPFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}|' \ - ${WRKSRC}/src/Makefile.in - @${REINPLACE_CMD} -e 's|-lFOX|-lFOX-1.1|g' ${WRKSRC}/configure - @${FIND} ${WRKSRC} -name "*.cpp" -or -name "*.h" -or -name "configure" | ${XARGS} \ - ${REINPLACE_CMD} -e 's|include <fox/|include <fox-1.1/|g' + 's|\"/dev/acd0c\"|\"${DEFAULT_DVD_DEVICE}\"|' \ + ${WRKSRC}/configure .include <bsd.port.post.mk> diff --git a/multimedia/goggles/distinfo b/multimedia/goggles/distinfo index 7df1ae5a41b7..b1348f756e8f 100644 --- a/multimedia/goggles/distinfo +++ b/multimedia/goggles/distinfo @@ -1,2 +1,2 @@ -MD5 (Goggles-0.5.6.tar.gz) = 3bb4b5cd2058ea381422c0a3af968f8f -SIZE (Goggles-0.5.6.tar.gz) = 276021 +MD5 (Goggles-0.7.2.tar.gz) = 38dc3a2080cb2b530a397560dcccdaaf +SIZE (Goggles-0.7.2.tar.gz) = 417094 |