aboutsummaryrefslogtreecommitdiff
path: root/textproc/rss2html
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2014-06-30 10:14:58 +0000
committerRodrigo Osorio <rodrigo@FreeBSD.org>2014-06-30 10:14:58 +0000
commit91fde41091c5fc1a1636ee78fe7c032aa166e6b7 (patch)
tree9781c7af593eb8aa351f1a83719d8d6206bd06b2 /textproc/rss2html
parent3c38f53bc6a8fd82cfdca04818e2673f1b7e5090 (diff)
downloadports-91fde41091c5fc1a1636ee78fe7c032aa166e6b7.tar.gz
ports-91fde41091c5fc1a1636ee78fe7c032aa166e6b7.zip
- stagify rss2html
- add license - take maintainership ( dhn drop its maintainship) Approved by: kwm (mentor), dhn
Notes
Notes: svn path=/head/; revision=359819
Diffstat (limited to 'textproc/rss2html')
-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