1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/graphics/xine/Makefile
Mario Sergio Fujikawa Ferreira bdbf1030b2 After repo copy from graphics category, update all appropriate
dependency references from both audio and graphics to multimedia
category.

audio/xmms			-->	multimedia/xmms
graphics/avifile		-->	multimedia/avifile
graphics/divx4linux		-->	multimedia/divx4linux
graphics/ffmpeg			-->	multimedia/ffmpeg
graphics/libdv			-->	multimedia/libdv
graphics/libdvdcss		-->	multimedia/libdvdcss
graphics/libdvdread		-->	multimedia/libdvdread
graphics/libmpeg2		-->	multimedia/libmpeg2
graphics/linux-realplayer	-->	multimedia/linux-realplayer
graphics/mjpegtools		-->	multimedia/mjpegtools
graphics/mplayer		-->	multimedia/mplayer
graphics/mplayer-fonts		-->	multimedia/mplayer-fonts
graphics/openquicktime		-->	multimedia/openquicktime
graphics/win32-codecs		-->	multimedia/win32-codecs

Repo copied by:		joe (cvs hat)
Approved by:		knu (portmgr hat)
2002-11-28 16:37:35 +00:00

79 lines
2.1 KiB
Makefile

# New ports collection makefile for: xine
# Date created: 14 Oct 2000
# Whom: alex
#
# $FreeBSD$
#
PORTNAME= xine
PORTVERSION= 0.9.13
CATEGORIES= graphics
MASTER_SITES= http://xine.sourceforge.net/files/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-ui-${PORTVERSION}
MAINTAINER= nobutaka@FreeBSD.org
LIB_DEPENDS= xine.2:${PORTSDIR}/graphics/libxine \
aa.1:${PORTSDIR}/graphics/aalib \
png.5:${PORTSDIR}/graphics/png \
intl.4:${PORTSDIR}/devel/gettext
USE_X_PREFIX= yes
USE_GNOMENG= yes
USE_GNOME= imlib
USE_GMAKE= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
THREAD_CFLAGS="${PTHREAD_CFLAGS}" \
THREAD_LIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-w32-path=${LOCALBASE}/lib/win32
MANLANG= "" de es fr pl
MAN1= aaxine.1 xine.1 xine-bugreport.1 xine-check.1 xine-remote.1
.include <bsd.port.pre.mk>
.if (${ARCH} == "i386")
.if !defined(WITHOUT_WIN32_CODECS)
RUN_DEPENDS= ${CODEC_DETECTION_FILE}:${CODEC_PORT}
CODEC_PORT= ${PORTSDIR}/multimedia/win32-codecs
CODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE
.endif
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|THREAD_LIBS=.*$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \
s|THREAD_CFLAGS=.*$$|THREAD_CFLAGS="\$$THREAD_CFLAGS"|g ; \
s|-L/usr/local/lib||g ; \
s|-I/usr/local/include||g' ${WRKSRC}/configure
.if ${OSVERSION} >= 500035
@${REINPLACE_CMD} -e \
's|-malign-loops|-falign-loops|g ; \
s|-malign-jumps|-falign-jumps|g ; \
s|-malign-functions|-falign-functions|g' ${WRKSRC}/configure
.endif
@${RM} ${WRKSRC}/src/xitk/xine-remote.c
post-install:
.for l in es fr
@${CP} ${PREFIX}/man/man1/aaxine.1 ${PREFIX}/man/${l}/man1/aaxine.1
.endfor
.for l in es fr pl
@${CP} ${PREFIX}/man/man1/xine-bugreport.1 ${PREFIX}/man/${l}/man1/xine-bugreport.1
.endfor
.for l in es fr pl
@${CP} ${PREFIX}/man/man1/xine-check.1 ${PREFIX}/man/${l}/man1/xine-check.1
.endfor
.for l in de es fr pl
@${CP} ${PREFIX}/man/man1/xine-remote.1 ${PREFIX}/man/${l}/man1/xine-remote.1
.endfor
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>