blob: 238141ee62d6443349d2def77235a800f4ed920b (
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
|
# New ports collection makefile for: XMPS
# Date created: 15 June 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xmps
PORTVERSION= 0.2.0
PORTREVISION= 12
CATEGORIES= multimedia gnome
MASTER_SITES= http://ftp.vin.bg.ac.yu/linux/mmedia/xmps/
MAINTAINER= ports@FreeBSD.org
COMMENT= X MPEG Player System - a media player with a very nice GUI
USE_GETTEXT= yes
USE_SDL= sdl
USE_GNOME= gnomeprefix gnomehack gnomelibs gdkpixbuf
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS}|g'
# Fixes for GCC 4.2
@${REINPLACE_CMD} -e 's|X" (mem)|m" (mem)|' \
${WRKSRC}/codecs/video/mpeg3/mmx.h
@${REINPLACE_CMD} -e '42,44s|^static ||' \
${WRKSRC}/codecs/video/mpeg3/slice.c
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/ltconfig
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
.include <bsd.port.post.mk>
|