1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/games/qstat/Makefile
Alexey Dokuchaev 68ed0c837d - Clean up Makefile
- Drop now no-op USE_REINPLACE
- Beautify pkg-descr
- Take maintainership
2006-04-17 08:13:21 +00:00

38 lines
967 B
Makefile

# New ports collection makefile for: QStat
# Date created: 28 May 1998
# Whom: Daniel O'Connor <darius@dons.net.au>
#
# $FreeBSD$
#
PORTNAME= qstat
PORTVERSION= 2.10
CATEGORIES= games net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= danfe@FreeBSD.org
COMMENT= A command line program to query game servers on the net
GNU_CONFIGURE= yes
post-extract:
@${MV} ${WRKSRC}/qstat.cfg ${WRKSRC}/qstat.cfg.default
post-patch:
@${REINPLACE_CMD} -e 's|\(qstat\.cfg\)|\1\.default|' \
${WRKSRC}/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/info ${DOCSDIR}/template
${INSTALL_DATA} ${WRKSRC}/qstatdoc.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/template/*.html ${WRKSRC}/template/*.txt \
${DOCSDIR}/template
${INSTALL_DATA} ${WRKSRC}/info/*.txt ${DOCSDIR}/info
.endif
@[ -f ${PREFIX}/etc/qstat.cfg ] || \
${CP} ${PREFIX}/etc/qstat.cfg.default ${PREFIX}/etc/qstat.cfg
.include <bsd.port.mk>