Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2017 09:00:23 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r445577 - head/x11/wmcliphist
Message-ID:  <201707120900.v6C90N0V078076@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Jul 12 09:00:23 2017
New Revision: 445577
URL: https://svnweb.freebsd.org/changeset/ports/445577

Log:
  - Add LICENSE
  - Unsilence installation
  - Switch to options helpers
  - Substitude DOCSDIR/EXAMPLESDIR in plist
  
  Approved by:	portmgr blanket

Modified:
  head/x11/wmcliphist/Makefile
  head/x11/wmcliphist/pkg-plist

Modified: head/x11/wmcliphist/Makefile
==============================================================================
--- head/x11/wmcliphist/Makefile	Wed Jul 12 09:00:21 2017	(r445576)
+++ head/x11/wmcliphist/Makefile	Wed Jul 12 09:00:23 2017	(r445577)
@@ -11,6 +11,9 @@ MASTER_SITES=	http://linux.nawebu.cz/wmcliphist/ \
 MAINTAINER=	uqs@FreeBSD.org
 COMMENT=	Clipboard history management dockapp for Window Maker
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 SUB_FILES=	pkg-message
 WRKSRC=		${WRKDIR}/${PORTNAME}
 USES=		gmake pkgconfig
@@ -20,10 +23,12 @@ USE_XORG=	x11
 OPTIONS_DEFINE=	DOCS
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	@${INSTALL_DATA} ${WRKSRC}/wmcliphistrc ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/wmcliphistrc ${STAGEDIR}${EXAMPLESDIR}
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/x11/wmcliphist/pkg-plist
==============================================================================
--- head/x11/wmcliphist/pkg-plist	Wed Jul 12 09:00:21 2017	(r445576)
+++ head/x11/wmcliphist/pkg-plist	Wed Jul 12 09:00:23 2017	(r445577)
@@ -1,3 +1,3 @@
 bin/wmcliphist
-share/examples/wmcliphist/wmcliphistrc
-%%PORTDOCS%%share/doc/wmcliphist/README
+%%EXAMPLESDIR%%/wmcliphistrc
+%%PORTDOCS%%%%DOCSDIR%%/README



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707120900.v6C90N0V078076>