blob: d7cc66ded280561869ba0caace71d92c9ecd9488 (
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
|
# 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= ports@FreeBSD.org
COMMENT= XMMS non-static OpenGL stereogram visualization plugin
BUILD_DEPENDS= xmms>0:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS= xmms>0:${PORTSDIR}/multimedia/xmms
USES= gmake pkgconfig
USE_XORG= xext
USE_GNOME= gtk12
USE_GL= glut
USE_AUTOTOOLS= libtool
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= lib/xmms/Visualization/libfishmatic.so
post-patch:
@${REINPLACE_CMD} -e \
's|"-lpthread|"-pthread|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|-O2|| ; \
s|@PNG_LIBS@||' ${WRKSRC}/Makefile.in
pre-configure:
@${RM} -f ${WRKSRC}/config.cache
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/xmms/Visualization
(cd ${WRKSRC}/.libs && ${INSTALL_LIB} libfishmatic.so \
${STAGEDIR}${PREFIX}/lib/xmms/Visualization)
.include <bsd.port.mk>
|