1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Stage support

- Add LICENSE
- Use desktop-file-utils
- Add missing OPTIONS_DEFINE
This commit is contained in:
Antoine Brodin 2014-01-05 12:19:31 +00:00
parent 62c19f0d87
commit 8f21ab977f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338753

View File

@ -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>