freebsd-ports/games/qstat/Makefile

39 lines
1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: QStat
# Date created: 28 May 1998
# Whom: Daniel O'Connor <darius@dons.net.au>
1998-08-17 02:28:24 +02:00
#
1999-08-25 08:06:33 +02:00
# $FreeBSD$
1998-08-17 02:28:24 +02:00
#
PORTNAME= qstat
PORTVERSION= 2.11
CATEGORIES= games net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
1998-08-17 02:28:24 +02:00
MAINTAINER= danfe@FreeBSD.org
COMMENT= A command line program to query game servers on the net
1998-08-17 02:28:24 +02:00
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
@${REINPLACE_CMD} -e 's|OpenBSD|FreeBSD|' ${WRKSRC}/qstat.c
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
1998-08-17 02:28:24 +02:00
.include <bsd.port.mk>