aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/WMxmms/Makefile
blob: 9c5592b9788ce425a9a65050f6618d18e9eeb2be (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
# New ports collection makefile for:    WMxmms
# Date created:             10 May 2003
# Whom:                 Alexey Dokuchaev <danfe@regency.nsu.ru>
#
# $FreeBSD$
#

PORTNAME=   WMxmms
PORTVERSION=    0.1.4
CATEGORIES= multimedia windowmaker
MASTER_SITES=   http://www.dockapps.com/download.php/id/252/ \
        ftp://ftp.nsu.ru/tmp/

MAINTAINER= danfe@regency.nsu.ru
COMMENT=    A dockable XMMS interface

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

USE_CONFIGURE=  yes
USE_GNOME=  gtk12
USE_X_PREFIX=   yes
USE_XPM=    yes
USE_REINPLACE=  yes

MAN1=       ${PORTNAME}.1

post-patch:
    @${REINPLACE_CMD} -e 's/^LIBS =/LIBS = ${PTHREAD_LIBS}/'\
        ${WRKSRC}/src/Makefile
    @${FIND} ${WRKSRC}/src -name \*.o -delete

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
    @${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>