-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to html2text-2.2.3, based on a diff from wen heping
quite a few tweaks from me
- Loading branch information
Showing
5 changed files
with
13 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,21 @@ | ||
PORTROACH= skipv:1.3.2 | ||
COMMENT= advanced HTML-to-text converter | ||
|
||
COMMENT= advanced HTML-to-text converter | ||
V= 2.2.3 | ||
DISTNAME= html2text-$V | ||
SITES= https://github.com/grobian/html2text/releases/download/v$V/ | ||
|
||
DISTNAME= html2text-1.3.2a | ||
REVISION = 5 | ||
CATEGORIES= converters textproc | ||
CATEGORIES= converters textproc | ||
|
||
HOMEPAGE= https://github.com/grobian/html2text | ||
|
||
HOMEPAGE= http://www.mbayer.de/html2text/ | ||
|
||
# GPL | ||
# GPLv2+ | ||
PERMIT_PACKAGE= Yes | ||
|
||
WANTLIB += c m ${COMPILER_LIBCXX} | ||
|
||
SITES= http://www.mbayer.de/html2text/downloads/ \ | ||
ftp://ftp.ibiblio.org/pub/linux/apps/www/converters/ | ||
|
||
COMPILER = base-clang ports-gcc base-gcc | ||
|
||
CONFIGURE_STYLE= simple | ||
CONFIGURE_ENV= CXX="${CXX}" | ||
|
||
MAKE_FLAGS= PREFIX="${PREFIX}" \ | ||
CXXFLAGS="-DVERSION=1.3.2a -DAUTO_PTR_BROKEN ${CXXFLAGS}" | ||
|
||
NO_TEST= Yes | ||
WANTLIB += c iconv m ${COMPILER_LIBCXX} | ||
|
||
post-extract: | ||
gunzip ${WRKSRC}/{html2text.1,html2textrc.5}.gz | ||
COMPILER= base-clang ports-gcc base-gcc | ||
LIB_DEPENDS= converters/libiconv | ||
|
||
do-install: | ||
${INSTALL_PROGRAM} ${WRKSRC}/html2text ${PREFIX}/bin/ | ||
${INSTALL_MAN} ${WRKSRC}/html2text.1 ${PREFIX}/man/man1 | ||
${INSTALL_MAN} ${WRKSRC}/html2textrc.5 ${PREFIX}/man/man5 | ||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html2text | ||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/html2text | ||
CONFIGURE_STYLE= gnu | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
SHA256 (html2text-1.3.2a.tar.gz) = AAs51dkQuGf/fghxd7RwoeJuKBmSDc/9WZHDP21IA5I= | ||
SIZE (html2text-1.3.2a.tar.gz) = 130088 | ||
SHA256 (html2text-2.2.3.tar.gz) = hZEzUos/2JNWLkHYS8HrwfkWbdKB0PqOF+fdJjN/V1I= | ||
SIZE (html2text-2.2.3.tar.gz) = 329841 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
@bin bin/html2text | ||
@man man/man1/html2text.1 | ||
@man man/man5/html2textrc.5 | ||
share/doc/html2text/ | ||
share/doc/html2text/README |