Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 12:19:32 +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: r338753 - head/x11/simdock
Message-ID:  <201401051219.s05CJWbp054438@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Jan  5 12:19:31 2014
New Revision: 338753
URL: http://svnweb.freebsd.org/changeset/ports/338753

Log:
  - Stage support
  - Add LICENSE
  - Use desktop-file-utils
  - Add missing OPTIONS_DEFINE

Modified:
  head/x11/simdock/Makefile

Modified: head/x11/simdock/Makefile
==============================================================================
--- head/x11/simdock/Makefile	Sun Jan  5 12:11:26 2014	(r338752)
+++ head/x11/simdock/Makefile	Sun Jan  5 12:19:31 2014	(r338753)
@@ -11,17 +11,20 @@ DISTNAME=	${PORTNAME}_${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Fast and customizable dockbar
 
+LICENSE=	GPLv2
+
 GNU_CONFIGURE=	yes
-USES=		pathfix pkgconfig
+USES=		desktop-file-utils pathfix pkgconfig
 USE_GNOME=	gnomeprefix gconf2 libwnck
 USE_WX=		2.8
 WX_CONF_ARGS=	absolute
 
 WRKSRC=		${WRKDIR}/trunk
 
-PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README TODO
+PORTDOCS=	AUTHORS ChangeLog INSTALL NEWS README TODO
+
+OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -34,10 +37,8 @@ post-patch:
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-.for doc in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
-.endfor
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>



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