file +++ b/www/Makefile @@ -2039,6 +2039,7 @@ SUBDIR += quark SUBDIR += qutebrowser SUBDIR += radicale + SUBDIR += rdrview SUBDIR += rearx SUBDIR += reddsaver SUBDIR += redmine51 diff --git a/www/rdrview/Makefile b/www/rdrview/Makefile new file mode 100644 index 000000000000..54405f77e67f --- /dev/null +++ b/www/rdrview/Makefile @@ -0,0 +1,35 @@ +PORTNAME= rdrview +DISTVERSIONPREFIX=v +DISTVERSION= 0.1.4 +CATEGORIES= www + +MAINTAINER= ps.ports@smyrak.com +COMMENT= CLI tool to extract the main content from a webpage + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libcurl.so:ftp/curl \ + libiconv.so:converters/libiconv \ + libxml2.so:textproc/libxml2 + +USES= gmake + +USE_GITHUB= yes +GH_ACCOUNT= eafer + +MAKE_ARGS= CC=${CC} \ + GIT_COMMIT=${DISTVERSIONFULL} +ALL_TARGET= ${PORTNAME} + +PLIST_FILES= bin/rdrview \ + share/man/man1/rdrview.1.gz + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/rdrview ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/rdrview.1 ${STAGEDIR}${PREFIX}/share/man/man1/ + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include diff --git a/www/rdrview/distinfo b/www/rdrview/distinfo new file mode 100644 index 000000000000..a32845fe9b72 --- /dev/null +++ b/www/rdrview/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1760969475 +SHA256 (eafer-rdrview-v0.1.4_GH0.tar.gz) = a1a7197c7a8a813630b77fa4485fe8808f67c4c1c8aed3b0ea89eaf6f9bd84e1 +SIZE (eafer-rdrview-v0.1.4_GH0.tar.gz) = 4685772 diff --git a/www/rdrview/pkg-descr b/www/rdrview/pkg-descr new file mode 100644 index 000000000000..c825fab0cf40 --- /dev/null +++ b/www/rdrview/pkg-descr @@ -0,0 +1,3 @@ +rdrview is a command line tool to extract the main content from a webpage. +It's an adaptation of Mozilla readibility.js to a C program that works in +a Capsicum sandbox.