diff options
Diffstat (limited to 'graphics/xine/Makefile')
-rw-r--r-- | graphics/xine/Makefile | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/graphics/xine/Makefile b/graphics/xine/Makefile index 39225f7d19d3..c61a2dae2ffb 100644 --- a/graphics/xine/Makefile +++ b/graphics/xine/Makefile @@ -6,7 +6,7 @@ # PORTNAME= xine -PORTVERSION= 0.9.2 +PORTVERSION= 0.9.6 CATEGORIES= graphics MASTER_SITES= http://xine.sourceforge.net/files/ \ ${MASTER_SITE_SOURCEFORGE} @@ -15,20 +15,36 @@ DISTNAME= ${PORTNAME}-ui-${PORTVERSION} MAINTAINER= nobutaka@FreeBSD.org -LIB_DEPENDS= xine.0:${PORTSDIR}/graphics/libxine \ +LIB_DEPENDS= xine.5:${PORTSDIR}/graphics/libxine \ aa.1:${PORTSDIR}/graphics/aalib \ - png.5:${PORTSDIR}/graphics/png + png.5:${PORTSDIR}/graphics/png \ + intl.1:${PORTSDIR}/devel/gettext GNU_CONFIGURE= yes USE_GMAKE= yes +USE_AUTOMAKE= yes USE_X_PREFIX= yes USE_IMLIB= yes USE_LIBTOOL= yes -CONFIGURE_ARGS+= --with-w32-path=${LOCALBASE}/lib/win32 +CONFIGURE_ARGS= --with-w32-path=${LOCALBASE}/lib/win32 +CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \ + CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" MANLANG= "" fr pl MAN1= aaxine.1 xine.1 +.include <bsd.port.pre.mk> + +.if (${ARCH} == "i386") +.if !defined(WITHOUT_WIN32_CODECS) +RUN_DEPENDS= ${CODEC_DETECTION_FILE}:${CODEC_PORT} + +CODEC_PORT= ${PORTSDIR}/graphics/win32-codecs +CODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE +.endif +.endif + post-configure: @${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC} @@ -36,4 +52,4 @@ post-install: @${CP} ${PREFIX}/man/man1/aaxine.1 ${PREFIX}/man/fr/man1/aaxine.1 @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |