2000-10-14 12:05:34 +02:00
|
|
|
# New ports collection makefile for: xine
|
|
|
|
# Date created: 14 Oct 2000
|
|
|
|
# Whom: alex
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2001-05-18 12:04:27 +02:00
|
|
|
PORTNAME= xine
|
2001-12-12 09:37:37 +01:00
|
|
|
PORTVERSION= 0.9.7
|
2001-05-18 12:04:27 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://xine.sourceforge.net/files/ \
|
|
|
|
${MASTER_SITE_SOURCEFORGE}
|
2001-09-20 09:50:12 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
DISTNAME= ${PORTNAME}-ui-${PORTVERSION}
|
2000-10-14 12:05:34 +02:00
|
|
|
|
2001-11-03 20:16:50 +01:00
|
|
|
MAINTAINER= nobutaka@FreeBSD.org
|
2000-10-14 12:05:34 +02:00
|
|
|
|
2001-12-12 09:37:37 +01:00
|
|
|
LIB_DEPENDS= xine.0:${PORTSDIR}/graphics/libxine \
|
2001-09-20 09:50:12 +02:00
|
|
|
aa.1:${PORTSDIR}/graphics/aalib \
|
2001-11-30 20:53:00 +01:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
|
|
intl.1:${PORTSDIR}/devel/gettext
|
2001-09-20 09:50:12 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
2001-05-18 12:04:27 +02:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_IMLIB= yes
|
2001-10-26 19:00:09 +02:00
|
|
|
USE_LIBTOOL= yes
|
2001-11-30 20:53:00 +01:00
|
|
|
CONFIGURE_ARGS= --with-w32-path=${LOCALBASE}/lib/win32
|
|
|
|
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2000-10-14 12:05:34 +02:00
|
|
|
|
2001-12-12 09:37:37 +01:00
|
|
|
MANLANG= "" es fr pl
|
2001-09-20 09:50:12 +02:00
|
|
|
MAN1= aaxine.1 xine.1
|
2000-12-20 16:14:07 +01:00
|
|
|
|
2001-11-30 20:53:00 +01:00
|
|
|
.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
|
|
|
|
|
2001-10-26 19:00:09 +02:00
|
|
|
post-configure:
|
|
|
|
@${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}
|
|
|
|
|
2000-10-14 18:20:52 +02:00
|
|
|
post-install:
|
2001-09-20 09:50:12 +02:00
|
|
|
@${CP} ${PREFIX}/man/man1/aaxine.1 ${PREFIX}/man/fr/man1/aaxine.1
|
2001-12-12 09:37:37 +01:00
|
|
|
@${CP} ${PREFIX}/man/man1/aaxine.1 ${PREFIX}/man/es/man1/aaxine.1
|
2000-10-14 18:20:52 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2001-11-30 20:53:00 +01:00
|
|
|
.include <bsd.port.post.mk>
|