Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2013 00:03:00 +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: r336501 - head/x11/vdesk
Message-ID:  <201312150003.rBF030L1027337@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Dec 15 00:02:59 2013
New Revision: 336501
URL: http://svnweb.freebsd.org/changeset/ports/336501

Log:
  Support stage

Modified:
  head/x11/vdesk/Makefile

Modified: head/x11/vdesk/Makefile
==============================================================================
--- head/x11/vdesk/Makefile	Sat Dec 14 23:30:36 2013	(r336500)
+++ head/x11/vdesk/Makefile	Sun Dec 15 00:02:59 2013	(r336501)
@@ -10,27 +10,20 @@ MASTER_SITES=	http://offog.org/files/
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Command-line utility for setting up and using virtual desktops
 
-DOCS=		AUTHORS COPYING ChangeLog INSTALL NEWS README
+OPTIONS_DEFINE=	DOCS
+
+PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL NEWS README
 PLIST_DIRS=	share/doc/vdesk
 PLIST_FILES=	bin/vdesk
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MDOCS}	
-.for ii in ${DOCS}
-PLIST_FILES+=	share/doc/vdesk/${ii}
-.endfor
-.endif
 USE_AUTOTOOLS=	autoconf
 USE_XORG=	x11
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/vdesk ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}	
-	${MKDIR} ${DOCSDIR}
-.for ii in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/vdesk ${STAGEDIR}${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for ii in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${ii} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



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