blob: 69e3f79c5a5ce95c144d8bc0209d86a49ec823a9 (
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
|
# Created by: David Yeske <dyeske@gmail.com>
# $FreeBSD$
PORTNAME= xmms-fishmatic
PORTVERSION= 0.0.1
PORTREVISION= 9
CATEGORIES= graphics
MASTER_SITES= http://stukach.com/hosted/
DISTNAME= fishmatic
MAINTAINER= c.petrik.sosa@gmail.com
COMMENT= XMMS non-static OpenGL stereogram visualization plugin
BUILD_DEPENDS= xmms-config:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
PLIST_FILES= lib/xmms/Visualization/libfishmatic.so
USE_GNOME= gtk12
USES= gmake pkgconfig
GNU_CONFIGURE= yes
USE_GL= glut
USE_XORG= xext
USE_LDCONFIG= yes
CONFIGURE_ENV= LIBS="-lGL -lXext ${LIBS}"
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
post-patch:
@${RM} -f ${WRKSRC}/config.cache
@${REINPLACE_CMD} -e 's|-O2||; \
s|-lpthreads|${PTHREAD_LIBS:S/"//g}|g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/ltconfig
.include <bsd.port.mk>
|