Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2014 08:36:47 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338843 - head/x11/bbrun
Message-ID:  <201401060836.s068alOh040873@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Jan  6 08:36:47 2014
New Revision: 338843
URL: http://svnweb.freebsd.org/changeset/ports/338843

Log:
  Support stage

Modified:
  head/x11/bbrun/Makefile

Modified: head/x11/bbrun/Makefile
==============================================================================
--- head/x11/bbrun/Makefile	Mon Jan  6 08:35:37 2014	(r338842)
+++ head/x11/bbrun/Makefile	Mon Jan  6 08:36:47 2014	(r338843)
@@ -8,7 +8,9 @@ CATEGORIES=	x11
 MASTER_SITES=	http://www.bsd-geek.de/FreeBSD/distfiles/
 
 MAINTAINER=	lme@FreeBSD.org
-COMMENT=	A Run box for Blackbox
+COMMENT=	Run box for Blackbox
+
+OPTIONS_DEFINE=	DOCS
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/bbrun
 
@@ -20,12 +22,9 @@ USE_CSTD=	gnu89
 PORTDOCS=	README
 PLIST_FILES=	bin/bbrun
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bbrun ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/bbrun ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/../README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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