Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2014 21:00:16 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339277 - head/irc/srvx
Message-ID:  <201401092100.s09L0GUY020594@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Thu Jan  9 21:00:15 2014
New Revision: 339277
URL: http://svnweb.freebsd.org/changeset/ports/339277

Log:
  - Stage support
  - Add missing OPTIONS_DEFINE

Modified:
  head/irc/srvx/Makefile

Modified: head/irc/srvx/Makefile
==============================================================================
--- head/irc/srvx/Makefile	Thu Jan  9 20:51:09 2014	(r339276)
+++ head/irc/srvx/Makefile	Thu Jan  9 21:00:15 2014	(r339277)
@@ -19,14 +19,13 @@ SUB_FILES=	pkg-message
 PLIST_FILES=	bin/srvx etc/srvx.conf.example etc/sockcheck.conf.example
 PORTDOCS=	*
 
-OPTIONS_DEFINE=	BAHAMUT DEBUG
+OPTIONS_DEFINE=	BAHAMUT DEBUG DOCS
 OPTIONS_DEFAULT=	BAHAMUT
 BAHAMUT_DESC=	Enable Bahamut protocol (P10 is default)
 
 DEBUG_CONFIGURE_ON=	--enable-debug
 BAHAMUT_CONFIGURE_ON=	--with-protocol=bahamut
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -34,14 +33,11 @@ post-patch:
 		${WRKSRC}/src/main.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/srvx ${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/*.conf.example ${PREFIX}/etc
+	${INSTALL_PROGRAM} ${WRKSRC}/src/srvx ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/*.conf.example ${STAGEDIR}${PREFIX}/etc
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/src/*.help ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/src/*.help ${STAGEDIR}${DOCSDIR}
 .endif
-	@${ECHO_MSG}
-	@${CAT} ${PKGMESSAGE}
-	@${ECHO_MSG}
 
 .include <bsd.port.mk>



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