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

PORTNAME=   scivi
DISTVERSION=    0.2.0-rc3
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

USE_AUTOTOOLS=  libtool:15

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>