From 11902fc0b4e4e2307d250b2db52f5dca753d3d00 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 16 Sep 2016 09:01:36 +0000 Subject: [PATCH] - Clarify LICENSE - Add LICENSE_FILE - Simplify installation - Pet portlint - Switch to options helpers - Fix rc.d script --- multimedia/kissdx/Makefile | 26 ++++++++++++-------------- multimedia/kissdx/files/kissdx.in | 2 ++ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/multimedia/kissdx/Makefile b/multimedia/kissdx/Makefile index 2a1e5fba55fb..35a77faa1655 100644 --- a/multimedia/kissdx/Makefile +++ b/multimedia/kissdx/Makefile @@ -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 diff --git a/multimedia/kissdx/files/kissdx.in b/multimedia/kissdx/files/kissdx.in index dbb0162c414e..0799d9103a73 100644 --- a/multimedia/kissdx/files/kissdx.in +++ b/multimedia/kissdx/files/kissdx.in @@ -6,6 +6,8 @@ # # kissdx_enable="YES" (kissdx="YES" for NetBSD) # +# PROVIDE: kissdx +# . /etc/rc.subr