aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wmcliphist
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-07-12 17:00:23 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-07-12 17:00:23 +0800
commitec3a644aa8eea3f75bac40bf4d529b31ff5b040a (patch)
tree15e9fb1307aa697190640e56abceff4d6883e3d6 /x11/wmcliphist
parent6ec2e8038db2c5ebd689e56465762010a83aa2d8 (diff)
downloadfreebsd-ports-graphics-ec3a644aa8eea3f75bac40bf4d529b31ff5b040a.tar.gz
freebsd-ports-graphics-ec3a644aa8eea3f75bac40bf4d529b31ff5b040a.tar.zst
freebsd-ports-graphics-ec3a644aa8eea3f75bac40bf4d529b31ff5b040a.zip
- Add LICENSE
- Unsilence installation - Switch to options helpers - Substitude DOCSDIR/EXAMPLESDIR in plist Approved by: portmgr blanket
Diffstat (limited to 'x11/wmcliphist')
-rw-r--r--x11/wmcliphist/Makefile11
-rw-r--r--x11/wmcliphist/pkg-plist4
2 files changed, 10 insertions, 5 deletions
diff --git a/x11/wmcliphist/Makefile b/x11/wmcliphist/Makefile
index 69506f4b092..74162a1e991 100644
--- a/x11/wmcliphist/Makefile
+++ b/x11/wmcliphist/Makefile
@@ -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>
diff --git a/x11/wmcliphist/pkg-plist b/x11/wmcliphist/pkg-plist
index 9903fe0ebe7..fef676387d5 100644
--- a/x11/wmcliphist/pkg-plist
+++ b/x11/wmcliphist/pkg-plist
@@ -1,3 +1,3 @@
bin/wmcliphist
-share/examples/wmcliphist/wmcliphistrc
-%%PORTDOCS%%share/doc/wmcliphist/README
+%%EXAMPLESDIR%%/wmcliphistrc
+%%PORTDOCS%%%%DOCSDIR%%/README