aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xmms-xvs/Makefile
blob: 89c386b818e3bff121d29d3d2efc87876aba5f66 (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-xvs
# Date created:                 25 June 2001
# Whom:                 Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#

PORTNAME=   xmms-xvs
PORTVERSION=    0.1.0b1
PORTREVISION=   2
CATEGORIES= graphics
MASTER_SITES=   http://jgregor.ps.pl/software/xvs/download/
DISTNAME=   xvs-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    X Visualization System, a plugin for XMMS

BUILD_DEPENDS=  xmms-config:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS=    xmms:${PORTSDIR}/multimedia/xmms

XMMS_CONFIG?=   ${X11BASE}/bin/xmms-config

USE_X_PREFIX=   yes
USE_BISON=  yes
USE_GNOME=  gtk12 libxml2
USE_REINPLACE=  yes
USE_GMAKE=  yes
USE_INC_LIBTOOL_VER=13
CONFIGURE_ENV=  XMMS_CONFIG="${XMMS_CONFIG}"

.include <bsd.port.pre.mk>

post-patch:
    @${REINPLACE_CMD} -e 's|<xml|<libxml/xml|g' ${WRKSRC}/configure

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in AUTHORS ChangeLog NEWS README TODO
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>