diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-04-15 19:15:01 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-04-15 19:15:01 +0800 |
commit | 158d0ab9b88c1f5f843ed413dfac8fc1735a0675 (patch) | |
tree | 57f2bd24b8034f48a513ef461f73c922afc6847a /multimedia/gopchop/Makefile | |
parent | cbb91b546d78834168850b3edbe2d1309c9a91fa (diff) | |
download | freebsd-ports-gnome-158d0ab9b88c1f5f843ed413dfac8fc1735a0675.tar.gz freebsd-ports-gnome-158d0ab9b88c1f5f843ed413dfac8fc1735a0675.tar.zst freebsd-ports-gnome-158d0ab9b88c1f5f843ed413dfac8fc1735a0675.zip |
upgrade to 0.8 and unbreak
Diffstat (limited to 'multimedia/gopchop/Makefile')
-rw-r--r-- | multimedia/gopchop/Makefile | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/multimedia/gopchop/Makefile b/multimedia/gopchop/Makefile index 2b4ee6bad01f..66507122804d 100644 --- a/multimedia/gopchop/Makefile +++ b/multimedia/gopchop/Makefile @@ -7,8 +7,8 @@ # PORTNAME= gopchop -PORTVERSION= 0.6 -PORTREVISION= 1 +PORTVERSION= 0.8 +PORTREVISION= 0 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://outflux.net/unix/software/GOPchop/download/ @@ -18,25 +18,22 @@ DISTNAME= GOPchop-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= MPEG2 GOP-accurate editor -BROKEN= Does not work with libmpeg 0.3.0 and later - -BUILD_DEPENDS= ${LOCALBASE}/lib/libvo.a:${PORTSDIR}/multimedia/libmpeg2 LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ - mpeg2.0:${PORTSDIR}/multimedia/libmpeg2 + mpeg2.0:${PORTSDIR}/multimedia/libmpeg2 \ + SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ + intl.4:${PORTSDIR}/devel/gettext \ + iconv.3:${PORTSDIR}/converters/libiconv -USE_GNOMENG= yes USE_GNOME= gtk12 USE_REINPLACE= yes +SDLCONFIG?= ${LOCALBASE}/bin/sdl11-config GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" - -CPPFLAGS= -I${LOCALBASE}/include -D__GNU_LIBRARY__ ${PTHREAD_CFLAGS} -LDFLAGS= -L${LOCALBASE}/lib -lgnugetopt ${PTHREAD_LIBS} +CONFIGURE_ENV= \ + CPPFLAGS="${CXXFLAGS} -DHAVE_DECL_GETOPT -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" \ + SDLCONFIG="${SDLCONFIG}" post-patch: - @${REINPLACE_CMD} -e 's|-lSDL |-lSDL-1.1 |g ; \ - s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|-lglib||g' ${WRKSRC}/src/Makefile.in .include <bsd.port.mk> |