svn commit: r395758 - head/x11-wm/jewel
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Sep 1 14:14:25 UTC 2015
Author: amdmi3
Date: Tue Sep 1 14:14:24 2015
New Revision: 395758
URL: https://svnweb.freebsd.org/changeset/ports/395758
Log:
- Add LICENSE
- Switch to options helpers
- Fix WWW:
Modified:
head/x11-wm/jewel/Makefile
head/x11-wm/jewel/pkg-descr
Modified: head/x11-wm/jewel/Makefile
==============================================================================
--- head/x11-wm/jewel/Makefile Tue Sep 1 14:14:03 2015 (r395757)
+++ head/x11-wm/jewel/Makefile Tue Sep 1 14:14:24 2015 (r395758)
@@ -10,7 +10,8 @@ MASTER_SITES= http://mjr.towers.org.uk/c
MAINTAINER= ports at FreeBSD.org
COMMENT= Window manager based on aewm++
-OPTIONS_DEFINE= DOCS
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/LICENSE
ALL_TARGET= all
DOCS= Changelog Changelog.DLR Changelog.jewel INSTALL LICENSE README
@@ -18,10 +19,10 @@ PORTDOCS= *
USES+= gmake
USE_XORG= x11 xext xpm
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-patch:
- ${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
+ @${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
${REINPLACE_CMD} -i '' -e 's|g++|${CXX}|g; s|gcc|${CC}|g'
do-install:
@@ -31,11 +32,11 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/goodies/setrootimage/setrootimage ${STAGEDIR}${PREFIX}/bin/jewel-setrootimage
${INSTALL_PROGRAM} ${WRKSRC}/goodies/xsession/xsession ${STAGEDIR}${PREFIX}/bin/jewel-xsession
${INSTALL_MAN} ${WRKSRC}/jewel.1x ${STAGEDIR}${PREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for ii in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${ii} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
Modified: head/x11-wm/jewel/pkg-descr
==============================================================================
--- head/x11-wm/jewel/pkg-descr Tue Sep 1 14:14:03 2015 (r395757)
+++ head/x11-wm/jewel/pkg-descr Tue Sep 1 14:14:24 2015 (r395758)
@@ -1,4 +1,4 @@
Jewel is a window manager based upon aewm++. It is meant as a
platform for more vigorous addition of new features.
-WWW: http://www.mjr.dsl.pipex.com/xwinman.html#jewel
+WWW: http://www.mjr.dsl.pipex.com/xwinman.html#jewel
More information about the svn-ports-all
mailing list