1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/games/qstat/Makefile
Alexey Dokuchaev 1ab22b753f - Correct snprintf(3) usage in the patch
- Make use of new @sample keyword in pkg-plist
- Hand over to games@ team, cleanup a bit
2014-04-17 08:06:06 +00:00

34 lines
927 B
Makefile

# Created by: Daniel O'Connor <darius@dons.net.au>
# $FreeBSD$
PORTNAME= qstat
PORTVERSION= 2.11
PORTREVISION= 1
CATEGORIES= games net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= games@FreeBSD.org
COMMENT= Command-line program to query game servers on the net
CONFLICTS_INSTALL= torque-[0-9]*
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS
post-extract:
@${MV} ${WRKSRC}/qstat.cfg ${WRKSRC}/qstat.cfg.sample
post-patch:
@${REINPLACE_CMD} -e 's|qstat\.cfg|&.sample|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|OpenBSD|${OPSYS}|' ${WRKSRC}/qstat.c
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/info ${STAGEDIR}${DOCSDIR}/template
${INSTALL_DATA} ${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>