From fc5c7cee783be24423bb453d50459b24c8a65e12 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 1 Sep 2015 14:14:24 +0000 Subject: [PATCH] - Add LICENSE - Switch to options helpers - Fix WWW: --- x11-wm/jewel/Makefile | 13 +++++++------ x11-wm/jewel/pkg-descr | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/x11-wm/jewel/Makefile b/x11-wm/jewel/Makefile index 1589ef2865c3..a1225c7da480 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 +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 diff --git a/x11-wm/jewel/pkg-descr b/x11-wm/jewel/pkg-descr index 0950872b608c..c83a1c5e518a 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