aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrodrigo <rodrigo@FreeBSD.org>2014-06-30 18:14:58 +0800
committerrodrigo <rodrigo@FreeBSD.org>2014-06-30 18:14:58 +0800
commiteeececac26bd5ff2e8f6d59f55d35597d1a09baf (patch)
tree9781c7af593eb8aa351f1a83719d8d6206bd06b2
parentfa4f6a9b96390a9bf5d1d0b8efdb6d33bcfeb0de (diff)
downloadfreebsd-ports-gnome-eeececac26bd5ff2e8f6d59f55d35597d1a09baf.tar.gz
freebsd-ports-gnome-eeececac26bd5ff2e8f6d59f55d35597d1a09baf.tar.zst
freebsd-ports-gnome-eeececac26bd5ff2e8f6d59f55d35597d1a09baf.zip
- stagify rss2html
- add license - take maintainership ( dhn drop its maintainship) Approved by: kwm (mentor), dhn
-rw-r--r--textproc/rss2html/Makefile19
-rw-r--r--textproc/rss2html/files/patch-Makefile.acr25
-rw-r--r--textproc/rss2html/pkg-descr2
3 files changed, 33 insertions, 13 deletions
diff --git a/textproc/rss2html/Makefile b/textproc/rss2html/Makefile
index d80418c80fb0..de157213a20c 100644
--- a/textproc/rss2html/Makefile
+++ b/textproc/rss2html/Makefile
@@ -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>
diff --git a/textproc/rss2html/files/patch-Makefile.acr b/textproc/rss2html/files/patch-Makefile.acr
new file mode 100644
index 000000000000..82f822d58120
--- /dev/null
+++ b/textproc/rss2html/files/patch-Makefile.acr
@@ -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
diff --git a/textproc/rss2html/pkg-descr b/textproc/rss2html/pkg-descr
index b47cb56083ca..e8c5de8b9857 100644
--- a/textproc/rss2html/pkg-descr
+++ b/textproc/rss2html/pkg-descr
@@ -3,4 +3,4 @@ convert them into plain text, formatted html, or token-separated strings.
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