Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2014 10:14:58 +0000 (UTC)
From:      Rodrigo Osorio <rodrigo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359819 - in head/textproc/rss2html: . files
Message-ID:  <201406301014.s5UAEwNV006009@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigo
Date: Mon Jun 30 10:14:58 2014
New Revision: 359819
URL: http://svnweb.freebsd.org/changeset/ports/359819
QAT: https://qat.redports.org/buildarchive/r359819/

Log:
  - stagify rss2html
  - add license
  - take maintainership ( dhn drop its maintainship)
  
  Approved by:	kwm (mentor), dhn

Added:
  head/textproc/rss2html/files/
  head/textproc/rss2html/files/patch-Makefile.acr   (contents, props changed)
Modified:
  head/textproc/rss2html/Makefile
  head/textproc/rss2html/pkg-descr

Modified: head/textproc/rss2html/Makefile
==============================================================================
--- head/textproc/rss2html/Makefile	Mon Jun 30 09:53:56 2014	(r359818)
+++ head/textproc/rss2html/Makefile	Mon Jun 30 10:14:58 2014	(r359819)
@@ -7,29 +7,24 @@ PORTREVISION=	3
 CATEGORIES=	textproc
 MASTER_SITES=	http://mirror.mcx2.org/
 
-MAINTAINER=	dhn@FreeBSD.org
+MAINTAINER=	rodrigo@FreeBSD.org
 COMMENT=	RSS to HTML converter
 
-LIB_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
+LICENSE=	GPLv2
+
+LIB_DEPENDS+=	libcurl.so:${PORTSDIR}/ftp/curl
 
 GNU_CONFIGURE=	yes
 CFLAGS+=	"-I${LOCALBASE}/include" "-L${LOCALBASE}/lib"
 
-MAN1=	rss2html.1
-MANCOMPRESSED=	no
-
-PLIST_FILES=	bin/rss2html
+PLIST_FILES=	bin/rss2html man/man1/rss2html.1.gz
 PORTDOCS=	rss2html.links usage.example rss2html.template
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e '16,20d' ${WRKSRC}/Makefile.acr
 
 post-install:
-.if !defined(NOPORTDOCS)
-	@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>

Added: head/textproc/rss2html/files/patch-Makefile.acr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/rss2html/files/patch-Makefile.acr	Mon Jun 30 10:14:58 2014	(r359819)
@@ -0,0 +1,25 @@
+--- Makefile.acr.orig	2014-06-29 22:15:48.507493419 +0000
++++ Makefile.acr	2014-06-29 22:16:59.373488121 +0000
+@@ -11,14 +11,14 @@
+ 	cd src/ && ${MAKE} all
+ 
+ install:
+-	mkdir -p ${BINDIR}
+-	${INSTALL_PROGRAM} src/rss2html ${BINDIR}/
+-	mkdir -p ${PREFIX}/share/doc/rss2html/
+-	${INSTALL_DATA} doc/rss2html.links ${PREFIX}/share/doc/rss2html/
+-	${INSTALL_DATA} doc/usage.example ${PREFIX}/share/doc/rss2html/
+-	${INSTALL_DATA} doc/rss2html.template ${PREFIX}/share/doc/rss2html/
+-	${INSTALL_DATA} README	${PREFIX}/share/doc/rss2html/
+-	${INSTALL_MAN} doc/rss2html.1 ${MANDIR}/man1/
++	mkdir -p ${DESTDIR}${BINDIR}
++	${INSTALL_PROGRAM} src/rss2html ${DESTDIR}${BINDIR}/
++	mkdir -p ${DESTDIR}${PREFIX}/share/doc/rss2html/
++	${INSTALL_DATA} doc/rss2html.links ${DESTDIR}${PREFIX}/share/doc/rss2html/
++	${INSTALL_DATA} doc/usage.example ${DESTDIR}${PREFIX}/share/doc/rss2html/
++	${INSTALL_DATA} doc/rss2html.template ${DESTDIR}${PREFIX}/share/doc/rss2html/
++	${INSTALL_DATA} README	${DESTDIR}${PREFIX}/share/doc/rss2html/
++	${INSTALL_MAN} doc/rss2html.1 ${DESTDIR}${MANDIR}/man1/
+ 
+ clean:
+ 	cd src/ && ${MAKE} clean

Modified: head/textproc/rss2html/pkg-descr
==============================================================================
--- head/textproc/rss2html/pkg-descr	Mon Jun 30 09:53:56 2014	(r359818)
+++ head/textproc/rss2html/pkg-descr	Mon Jun 30 10:14:58 2014	(r359819)
@@ -3,4 +3,4 @@ convert them into plain text, formatted 
 This tool can be easily integrated into shellscripts, cron tasks, motd's,
 etc.
 
-WWW:	http://nopcode.org/blog/rss2html.html
+WWW: http://nopcode.org/blog/rss2html.html



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