aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xine/Makefile
blob: d98209c0371134cd3d9c3699fbe65dae5bc90f9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# New ports collection makefile for:    xine
# Date created:         14 Oct 2000
# Whom:                 alex
#
# $FreeBSD$
#

PORTNAME=   xine
PORTVERSION=    0.9.7
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.0:${PORTSDIR}/graphics/libxine \
        aa.1:${PORTSDIR}/graphics/aalib \
        png.5:${PORTSDIR}/graphics/png \
        intl.1:${PORTSDIR}/devel/gettext

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_X_PREFIX=   yes
USE_IMLIB=  yes
USE_LIBTOOL=    yes
CONFIGURE_ARGS= --with-w32-path=${LOCALBASE}/lib/win32
CONFIGURE_ENV=  CFLAGS="-I${LOCALBASE}/include" \
            CPPFLAGS="-I${LOCALBASE}/include" \
            LIBS="-L${LOCALBASE}/lib"

MANLANG=    "" es 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}

post-install:
    @${CP} ${PREFIX}/man/man1/aaxine.1 ${PREFIX}/man/fr/man1/aaxine.1
    @${CP} ${PREFIX}/man/man1/aaxine.1 ${PREFIX}/man/es/man1/aaxine.1
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>