2013-03-17 17:44:33 +01:00
|
|
|
# Created by: Daniel O'Connor <darius@dons.net.au>
|
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
|
2014-04-17 10:06:06 +02:00
|
|
|
PORTREVISION= 1
|
2001-07-02 18:11:12 +02:00
|
|
|
CATEGORIES= games net
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
1998-08-17 02:28:24 +02:00
|
|
|
|
2014-10-31 17:11:33 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-03-17 17:44:33 +01:00
|
|
|
COMMENT= Command-line program to query game servers on the net
|
1998-08-17 02:28:24 +02:00
|
|
|
|
2013-04-16 20:23:45 +02:00
|
|
|
CONFLICTS_INSTALL= torque-[0-9]*
|
|
|
|
|
2014-04-17 10:06:06 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2014-10-01 13:10:12 +02:00
|
|
|
PORTDOCS= *
|
|
|
|
|
2013-03-17 17:44:33 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2005-05-07 21:21:30 +02:00
|
|
|
post-extract:
|
2014-04-17 10:06:06 +02:00
|
|
|
@${MV} ${WRKSRC}/qstat.cfg ${WRKSRC}/qstat.cfg.sample
|
2005-05-07 21:21:30 +02:00
|
|
|
|
|
|
|
post-patch:
|
2014-04-17 10:06:06 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|qstat\.cfg|&.sample|' ${WRKSRC}/Makefile.in
|
2013-10-20 18:24:04 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|OpenBSD|${OPSYS}|' ${WRKSRC}/qstat.c
|
2005-05-07 21:21:30 +02:00
|
|
|
|
|
|
|
post-install:
|
2013-10-20 18:24:04 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/info ${STAGEDIR}${DOCSDIR}/template
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/qstatdoc.html ${STAGEDIR}${DOCSDIR}
|
2006-04-17 10:13:21 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/template/*.html ${WRKSRC}/template/*.txt \
|
2013-10-20 18:24:04 +02:00
|
|
|
${STAGEDIR}${DOCSDIR}/template
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/info/*.txt ${STAGEDIR}${DOCSDIR}/info
|
1998-08-17 02:28:24 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|