Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2014 18:26:31 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351119 - head/games/quaqut
Message-ID:  <201404121826.s3CIQVZo076122@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sat Apr 12 18:26:31 2014
New Revision: 351119
URL: http://svnweb.freebsd.org/changeset/ports/351119
QAT: https://qat.redports.org/buildarchive/r351119/

Log:
  - Add staging support
  - Define DOCS option

Modified:
  head/games/quaqut/Makefile

Modified: head/games/quaqut/Makefile
==============================================================================
--- head/games/quaqut/Makefile	Sat Apr 12 18:24:55 2014	(r351118)
+++ head/games/quaqut/Makefile	Sat Apr 12 18:26:31 2014	(r351119)
@@ -9,22 +9,17 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Queries information from Unreal Tournament 2004 game servers
 
-
 HAS_CONFIGURE=	yes
 USE_RC_SUBR=	${PORTNAME}
-MAN1=		${PORTNAME}.1
 PORTDOCS=	AUTHORS COPYING ChangeLog README
-PLIST_FILES=	bin/${PORTNAME}
+PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
+
+OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-.for i in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
-.endfor
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/quaqut.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404121826.s3CIQVZo076122>