aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gx2osd/Makefile
blob: cf094d2ecb075cd559f4a3c92917d9ca4b1594cc (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:    py-netstring
# Date created:             04 Nov 2006
# Whom:                 Alexander Botero-Lowry <alexbl@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   gx2osd
PORTVERSION=    0.1
CATEGORIES= audio
MASTER_SITES=    http://eclipser.no-ip.org/

MAINTAINER= alexbl@FreeBSD.org
COMMENT=    An OSD client for XMMS2

LIB_DEPENDS=    gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
                xerces-c.27:${PORTSDIR}/textproc/xerces-c2
BUILD_DEPENDS=  ${LOCALBASE}/lib/libxmmsclient++.so:${PORTSDIR}/audio/cpp-xmms2
RUN_DEPENDS=    ${LOCALBASE}/lib/libxmmsclient++.so:${PORTSDIR}/audio/cpp-xmms2

USE_BZIP2=  yes
USE_PYTHON_BUILD=   yes

CFLAGS+=    -I${LOCALBASE}/include
LINKFLAGS+= ${LDFLAGS} -L${LOCALBASE}/lib

MAKE_ENV+=  LINKFAGS="${LINKFLAGS}" WAF_HOME=.

MAN1=   gx2osd.1

.include <bsd.port.pre.mk>

pre-patch:
    @${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' ${WRKSRC}/wscript

do-configure:
    -@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf --prefix ${PREFIX} configure
    @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf --prefix ${PREFIX} configure

do-build:
    @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf --prefix ${PREFIX} build

do-install:
    @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf --prefix ${PREFIX} ${INSTALL_TARGET}

.include <bsd.port.post.mk>