Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2015 10:51:19 +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: r395610 - head/misc/hotkeys
Message-ID:  <201508301051.t7UApJO2080642@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Aug 30 10:51:18 2015
New Revision: 395610
URL: https://svnweb.freebsd.org/changeset/ports/395610

Log:
  - Clarify LICENSE
  - Add LICENSE_FILE
  - Pet portlint
  - Switch to @sample

Modified:
  head/misc/hotkeys/Makefile
  head/misc/hotkeys/pkg-plist

Modified: head/misc/hotkeys/Makefile
==============================================================================
--- head/misc/hotkeys/Makefile	Sun Aug 30 10:36:13 2015	(r395609)
+++ head/misc/hotkeys/Makefile	Sun Aug 30 10:51:18 2015	(r395610)
@@ -11,7 +11,8 @@ DISTNAME=	hotkeys_${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Allows usage of special keys on internet/multimedia keyboards
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libxml2.so:${PORTSDIR}/textproc/libxml2
 
@@ -20,7 +21,7 @@ CONFIGURE_ARGS=	--with-db3-inc=${BDB_INC
 		--with-db3-lib=${BDB_LIB_DIR} \
 		--with-db-name=${BDB_LIB_NAME}
 
-USE_XORG=	x11 xkbfile xmu xft
+USE_XORG=	x11 xft xkbfile xmu
 GNU_CONFIGURE=	yes
 USE_BDB=	yes
 USES=		gmake
@@ -43,6 +44,6 @@ post-configure:
 	${REINPLACE_CMD} -e 's,-lXinerama,-lXinerama `pkgconf --libs pangoxft`,g' ${WRKSRC}/src/Makefile
 
 post-install:
-	@${INSTALL_DATA} ${WRKSRC}/src/hotkeys.conf ${STAGEDIR}${PREFIX}/etc/hotkeys.conf.sample
+	${INSTALL_DATA} ${WRKSRC}/src/hotkeys.conf ${STAGEDIR}${PREFIX}/etc/hotkeys.conf.sample
 
 .include <bsd.port.mk>

Modified: head/misc/hotkeys/pkg-plist
==============================================================================
--- head/misc/hotkeys/pkg-plist	Sun Aug 30 10:36:13 2015	(r395609)
+++ head/misc/hotkeys/pkg-plist	Sun Aug 30 10:51:18 2015	(r395610)
@@ -1,7 +1,5 @@
 bin/hotkeys
-@unexec if cmp -s %D/etc/hotkeys.conf.sample %D/etc/hotkeys.conf; then rm -f %D/etc/hotkeys.conf; fi
-etc/hotkeys.conf.sample
-@exec if [ ! -f %D/etc/hotkeys.conf ] ; then cp -p %D/%F %B/hotkeys.conf; fi
+@sample etc/hotkeys.conf.sample
 man/man1/hotkeys.1.gz
 %%DATADIR%%/splash.png
 %%DATADIR%%/acerwl.def



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