svn commit: r351119 - head/games/quaqut

Pawel Pekala pawel at FreeBSD.org
Sat Apr 12 18:26:31 UTC 2014


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 at 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>


More information about the svn-ports-all mailing list