aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xmms-scivi/Makefile
blob: 47da4c36e58c6c93497b8dc3078d703968a9f75c (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
# New ports collection makefile for:    xmms-scivi
# Date created:             15 Oct 2005
# Whom:                 Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#

PORTNAME=   scivi
DISTVERSION=    0.2.0-rc3
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}
PKGNAMEPREFIX=  xmms-

MAINTAINER= alejandro@varnet.biz
COMMENT=    Scivi is a visualization plugin for XMMS

LIB_DEPENDS=    xmms.4:${PORTSDIR}/multimedia/xmms

USE_X_PREFIX=   yes
USE_BZIP2=  yes
USE_REINPLACE=  yes
USE_GL=     yes
USE_GNOME=  gtk12

GNU_CONFIGURE=  yes

post-patch:
    @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
        ${WRKSRC}/configure ${WRKSRC}/src/Makefile.in
    @${REINPLACE_CMD} -e "s|<stdint.h>|<inttypes.h>|g" \
        ${WRKSRC}/src/dynam.c ${WRKSRC}/src/glstuff.c \
        ${WRKSRC}/src/gui.c ${WRKSRC}/src/plugin.c \
        ${WRKSRC}/src/presets.c ${WRKSRC}/src/scivi.c \
        ${WRKSRC}/src/utilx.c ${WRKSRC}/src/utilf.c \
        ${WRKSRC}/src/utilsnd.c

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>