aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms-pipe/Makefile
blob: c74a3527be248257acfa22cc0a3de826a5562c8f (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-pipe
# Date created:             23 Aug 2002
# Whom:                 David Yeske <dyeske@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   xmms-pipe
PORTVERSION=    0.5.6
PORTREVISION=   3
CATEGORIES= audio
MASTER_SITES=   http://rooster.stanford.edu/~ben/xmmspipe/files/
DISTNAME=   xmmspipe-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Controls XMMS with a named pipe

DEPRECATED= Looks like an abandonware, no more public distfile
EXPIRATION_DATE=    2011-08-01

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

USE_GMAKE=  yes
ALL_TARGET= target

DOC_FILES=  HISTORY README LICENSE COMMANDS

post-patch:
    @${REINPLACE_CMD} -E -e 's|gcc|${CC}|; \
        s|^(COPT=).+$$|\1${CFLAGS} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS}|' \
        ${WRKSRC}/Makefile

do-install:
    @${INSTALL_DATA} ${WRKSRC}/xmmspipe.so \
        ${PREFIX}/lib/xmms/General/
.ifndef(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
    @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>