2006-04-17 10:13:21 +02:00
|
|
|
# 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
|
|
|
#
|
|
|
|
|
2000-04-14 14:28:40 +02:00
|
|
|
PORTNAME= qstat
|
2007-06-24 17:28:26 +02:00
|
|
|
PORTVERSION= 2.11
|
2001-07-02 18:11:12 +02:00
|
|
|
CATEGORIES= games net
|
2004-10-12 14:16:42 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1998-08-17 02:28:24 +02:00
|
|
|
|
2006-04-17 10:13:21 +02:00
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A command line program to query game servers on the net
|
1998-08-17 02:28:24 +02:00
|
|
|
|
2005-05-07 21:21:30 +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
|
2007-06-24 17:28:26 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|OpenBSD|FreeBSD|' ${WRKSRC}/qstat.c
|
2005-05-07 21:21:30 +02:00
|
|
|
|
|
|
|
post-install:
|
1999-03-15 02:35:06 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-10-12 14:16:42 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}/info ${DOCSDIR}/template
|
2006-04-17 10:13:21 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/qstatdoc.html ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/template/*.html ${WRKSRC}/template/*.txt \
|
2005-05-07 21:21:30 +02:00
|
|
|
${DOCSDIR}/template
|
2006-04-17 10:13:21 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/info/*.txt ${DOCSDIR}/info
|
1999-03-15 02:35:06 +01:00
|
|
|
.endif
|
2005-05-07 21:21:30 +02:00
|
|
|
@[ -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>
|