svn commit: r338753 - head/x11/simdock
Antoine Brodin
antoine at FreeBSD.org
Sun Jan 5 12:19:32 UTC 2014
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 at 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>
More information about the svn-ports-all
mailing list