aboutsummaryrefslogtreecommitdiffstats
path: root/net/wmq3/Makefile
blob: e2f14e0f192fce9c10bbbf6cf022a407877d737a (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
# New ports collection makefile for:    wmq3
# Date created:             Sat Dec 29 23:19:57 EST 2001
# Whom:                 Patrick Li <pat@databits.net>
#
# $FreeBSD$
#

PORTNAME=   wmq3
PORTVERSION=    0.2.2
PORTREVISION=   1
CATEGORIES= net windowmaker games
MASTER_SITES=   http://www.soberart.de/down/

MAINTAINER= pat@FreeBSD.org
COMMENT=    Dockapp that query and display information on Quake 3 servers

RUN_DEPENDS=    qstat:${PORTSDIR}/games/qstat

WRKSRC=     ${WRKDIR}/${PORTNAME}/${PORTNAME}
USE_GMAKE=  yes
USE_X_PREFIX=   yes
USE_XPM=    yes

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/wmq3 ${PREFIX}/bin
    @${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
    @${INSTALL_DATA} ${WRKSRC}/wmq3rc \
        ${PREFIX}/share/examples/${PORTNAME}

post-install:
    @${SED} 's|%%EXAMPLEDIR%%|${PREFIX}/share/examples/${PORTNAME}|' \
        ${PKGMESSAGE}

.include <bsd.port.mk>