blob: 9da78434107c3827ea440e571dc628e319d59434 (
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
|
# Created by: Daniel O'Connor <darius@dons.net.au>
PORTNAME= qstat
PORTVERSION= 2.17
DISTVERSIONPREFIX= v
CATEGORIES= games net
MAINTAINER= danfe@FreeBSD.org
COMMENT= Command-line program to query game servers on the net
LICENSE= ART20
CONFLICTS_INSTALL= torque-[0-9]*
USES= autoreconf gmake
GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_ACCOUNT= multiplay
PLIST_FILES= bin/qstat \
@sample\ etc/qstat.cfg.sample
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-extract:
@${MV} ${WRKSRC}/qstat.cfg ${WRKSRC}/qstat.cfg.sample
post-patch:
@${REINPLACE_CMD} -e 's|qstat\.cfg|&.sample|' ${WRKSRC}/Makefile.am
@${REINPLACE_CMD} -e 's|__hpux|${OPSYS}|' ${WRKSRC}/qstat.c
@${PRINTF} '#!/bin/sh\n\necho -n ${PORTVERSION}' > \
${WRKSRC}/scripts/version.sh
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/info ${STAGEDIR}${DOCSDIR}/template
${INSTALL_DATA} ${WRKSRC}/CHANGES.txt ${WRKSRC}/qstatdoc.html \
${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/template/*.html ${WRKSRC}/template/*.txt \
${STAGEDIR}${DOCSDIR}/template
${INSTALL_DATA} ${WRKSRC}/info/*.txt ${STAGEDIR}${DOCSDIR}/info
.include <bsd.port.mk>
|