aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/transcode
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2003-07-14 10:53:03 +0800
committersf <sf@FreeBSD.org>2003-07-14 10:53:03 +0800
commit971087c2b4d6b0b917e3fac3ac1334b04f7c9907 (patch)
tree7181a8316bbb1b7be4386d9173b3c6ace07025da /multimedia/transcode
parent0cc85c09b55a7d94ca1d7c16c8eedae091f2840c (diff)
downloadfreebsd-ports-gnome-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.tar.gz
freebsd-ports-gnome-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.tar.zst
freebsd-ports-gnome-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.zip
get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
Diffstat (limited to 'multimedia/transcode')
-rw-r--r--multimedia/transcode/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/multimedia/transcode/Makefile b/multimedia/transcode/Makefile
index 1be47e715f92..3657c9287a05 100644
--- a/multimedia/transcode/Makefile
+++ b/multimedia/transcode/Makefile
@@ -7,6 +7,7 @@
PORTNAME= transcode
PORTVERSION= 0.6.8
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://www.zebra.fh-weingarten.de/~transcode/pre/
@@ -14,15 +15,16 @@ MAINTAINER= hendrik@scholz.net
COMMENT= A text-console utility for video stream processing
LIB_DEPENDS= dvdread.3:${PORTSDIR}/multimedia/libdvdread \
- gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
jpeg.9:${PORTSDIR}/graphics/jpeg
+USE_GETOPT_LONG=yes
USE_XLIB= yes
USE_GNOME= gtk12
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lgnugetopt" \
+LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib
+CPPFLAGS= -I${X11BASE}/include -I${LOCALBASE}/include
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
SDL_CONFIG="${LOCALBASE}/bin/sdl11-config"
CONFIGURE_ARGS= --program-transform-name=""
USE_REINPLACE= yes
@@ -201,7 +203,7 @@ PLIST_SUB+= WITH_LAME="@comment "
.if defined(WITH_OGG)
LIB_DEPENDS+= ogg.4:${PORTSDIR}/audio/libogg
-CONFIGURE_ARGS+= --with-ogg=yes
+CONFIGURE_ARGS+= --with-ogg=yes
PLIST_SUB+= WITH_OGG=""
.else
PLIST_SUB+= WITH_OGG="@comment "
@@ -229,7 +231,7 @@ PLIST_SUB+= WITH_SUBRIP="@comment "
.if defined(WITH_DIVX5)
BUILD_DEPENDS+= ${LINUXBASE}/usr/lib/libdivxdecore.so:${PORTSDIR}/multimedia/linux-divx4linux
-CONFIGURE_ENV+= CFLAGS="-I${LINUXBASE}/usr/include/divx" CPPFLAGS="-I${LINUXBASE}/usr/include/divx"
+CONFIGURE_ENV+= CFLAGS="-I${LINUXBASE}/usr/include/divx" CPPFLAGS="-I${LINUXBASE}/usr/include/divx"
.else
.endif