aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-01 22:14:24 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-01 22:14:24 +0800
commit1c7eeb223e97f91d91e32dbcc362630ef9389d48 (patch)
tree956bed632501256d6faf5719dc62b24558edf122 /x11-wm
parentcea95cf406cd9782700c2ac99dd992fbf3162e3b (diff)
downloadfreebsd-ports-graphics-1c7eeb223e97f91d91e32dbcc362630ef9389d48.tar.gz
freebsd-ports-graphics-1c7eeb223e97f91d91e32dbcc362630ef9389d48.tar.zst
freebsd-ports-graphics-1c7eeb223e97f91d91e32dbcc362630ef9389d48.zip
- Add LICENSE
- Switch to options helpers - Fix WWW:
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/jewel/Makefile13
-rw-r--r--x11-wm/jewel/pkg-descr2
2 files changed, 8 insertions, 7 deletions
diff --git a/x11-wm/jewel/Makefile b/x11-wm/jewel/Makefile
index 1589ef2865c..a1225c7da48 100644
--- a/x11-wm/jewel/Makefile
+++ b/x11-wm/jewel/Makefile
@@ -10,7 +10,8 @@ MASTER_SITES= http://mjr.towers.org.uk/comp/
MAINTAINER= ports@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>
diff --git a/x11-wm/jewel/pkg-descr b/x11-wm/jewel/pkg-descr
index 0950872b608..c83a1c5e518 100644
--- a/x11-wm/jewel/pkg-descr
+++ b/x11-wm/jewel/pkg-descr
@@ -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