1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/games/qstat/Makefile
Alexey Dokuchaev c07cff0ac0 - Update `games/qstat' to version 2.14
- Project had moved from SF to GitHub
- Build must be bootstrapped now (USES+=autoreconf)
- Define LICENSE (ART20) and install CHANGES.txt
- Convert two-line pkg-plist into PLIST_FILES
- Remove incomplete list of games from pkg-descr

Because GitHub releases (tarballs) are not fetched with correct modification
time, set TIMESTAMP to 1393638577 which corresponds to commit 71f0e4c tagged
as this release.
2017-01-26 10:59:47 +00:00

44 lines
1.0 KiB
Makefile

# Created by: Daniel O'Connor <darius@dons.net.au>
# $FreeBSD$
PORTNAME= qstat
PORTVERSION= 2.14
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]*
USE_GITHUB= yes
GH_ACCOUNT= multiplay
USES= autoreconf
GNU_CONFIGURE= yes
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|OpenBSD|${OPSYS}|' ${WRKSRC}/qstat.c
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>