Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2016 09:01:36 +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: r422248 - in head/multimedia/kissdx: . files
Message-ID:  <201609160901.u8G91awG036356@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Sep 16 09:01:36 2016
New Revision: 422248
URL: https://svnweb.freebsd.org/changeset/ports/422248

Log:
  - Clarify LICENSE
  - Add LICENSE_FILE
  - Simplify installation
  - Pet portlint
  - Switch to options helpers
  - Fix rc.d script

Modified:
  head/multimedia/kissdx/Makefile
  head/multimedia/kissdx/files/kissdx.in

Modified: head/multimedia/kissdx/Makefile
==============================================================================
--- head/multimedia/kissdx/Makefile	Fri Sep 16 07:38:43 2016	(r422247)
+++ head/multimedia/kissdx/Makefile	Fri Sep 16 09:01:36 2016	(r422248)
@@ -3,20 +3,21 @@
 
 PORTNAME=	kissdx
 PORTVERSION=	0.13.10a
-PORTREVISION=	12
+PORTREVISION=	13
 CATEGORIES=	multimedia net
 MASTER_SITES=	http://paragi.dk/kiss/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Multimedia streaming server for KiSS/Linksys player
 
-LICENSE=	GPLv2
-
-BROKEN_powerpc64=	Does not build
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libgd.so:graphics/gd \
 		libdvdread.so:multimedia/libdvdread
 
+BROKEN_powerpc64=	Does not build
+
 USES=		compiler:nestedfct dos2unix iconv jpeg
 MAKE_ENV=	FreeBSD=defined
 
@@ -45,16 +46,13 @@ pre-build:
 	@${RM} -f ${WRKSRC}/kissdx.o
 
 do-install:
-	(cd ${WRKSRC} && ${INSTALL_PROGRAM} kissdx \
-		${STAGEDIR}${PREFIX}/sbin)
-	(cd ${WRKSRC} && ${INSTALL_SCRIPT} kissd-pretrigger kissd-posttrigger \
-		${STAGEDIR}${PREFIX}/sbin)
-	(cd ${WRKSRC} && ${INSTALL_MAN} kissdx.1 \
-		${STAGEDIR}${MANPREFIX}/man/man1)
-	(cd ${WRKSRC} && ${INSTALL_DATA} kissdx.conf \
-		${STAGEDIR}${PREFIX}/etc)
+	${INSTALL_PROGRAM} ${WRKSRC}/kissdx ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_SCRIPT} ${WRKSRC}/kissd-pretrigger ${WRKSRC}/kissd-posttrigger ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_MAN} ${WRKSRC}/kissdx.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_DATA} ${WRKSRC}/kissdx.conf ${STAGEDIR}${PREFIX}/etc
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	(cd ${WRKSRC} && ${INSTALL_DATA} README \
-		${STAGEDIR}${DOCSDIR})
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/multimedia/kissdx/files/kissdx.in
==============================================================================
--- head/multimedia/kissdx/files/kissdx.in	Fri Sep 16 07:38:43 2016	(r422247)
+++ head/multimedia/kissdx/files/kissdx.in	Fri Sep 16 09:01:36 2016	(r422248)
@@ -6,6 +6,8 @@
 #
 # kissdx_enable="YES" (kissdx="YES" for NetBSD)
 #
+# PROVIDE: kissdx
+#
 
 . /etc/rc.subr
 



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