aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/sablotron/Makefile25
-rw-r--r--textproc/sablotron/distinfo4
-rw-r--r--textproc/sablotron/pkg-plist2
3 files changed, 21 insertions, 10 deletions
diff --git a/textproc/sablotron/Makefile b/textproc/sablotron/Makefile
index 572388b5d425..d2eab0636107 100644
--- a/textproc/sablotron/Makefile
+++ b/textproc/sablotron/Makefile
@@ -6,16 +6,11 @@
#
PORTNAME= Sablot
-PORTVERSION= 0.95
-PORTREVISION= 1
+PORTVERSION= 0.96
CATEGORIES= textproc
MASTER_SITES= http://download-2.gingerall.cz/download/sablot/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} sablot-docs-0.81${EXTRACT_SUFX}
-PATCH_SITES= ${MASTER_SITES}
-PATCHFILES= Sablot-0.95-PHP.patch Sablot-0.95-GlobVars.patch
-PATCH_DIST_STRIP= -p2
-
MAINTAINER= skv@FreeBSD.org
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \
@@ -43,7 +38,7 @@ MAN1= sabcmd.1
.include <bsd.port.pre.mk>
-.if defined(WITH_DISABLE_META)
+.if defined(WITHOUT_ADDING_META)
CONFIGURE_ARGS+= --disable-adding-meta
.endif
@@ -51,6 +46,22 @@ CONFIGURE_ARGS+= --disable-adding-meta
CONFIGURE_ARGS+= --enable-iconv-typecast
.endif
+.if defined(WITHOUT_DOM)
+CONFIGURE_ARGS+= --disable-dom
+.endif
+
+.if defined(WITHOUT_DOCUMENT_ERRORS)
+CONFIGURE_ARGS+= --disable-document-errors
+.endif
+
+.if defined(WITH_CHECK_LEAKS)
+CONFIGURE_ARGS+= --enable-check-leaks
+.endif
+
+.if defined(WITH_DEBUGGER)
+CONFIGURE_ARGS+= --enable-debugger
+.endif
+
WRKSRCDOC= ${WRKDIR}/sablot-docs
DOCSLIST= README README_JS RELEASE
diff --git a/textproc/sablotron/distinfo b/textproc/sablotron/distinfo
index 4148ac45cd9b..8c624173cf3c 100644
--- a/textproc/sablotron/distinfo
+++ b/textproc/sablotron/distinfo
@@ -1,4 +1,2 @@
-MD5 (Sablot-0.95.tar.gz) = 5dbcb6eabe8a962f9b84719cdb100390
+MD5 (Sablot-0.96.tar.gz) = faa64d8005e5bf8328faf85466d096e1
MD5 (sablot-docs-0.81.tar.gz) = e9df9492f164120ea7fe7b85713421ea
-MD5 (Sablot-0.95-PHP.patch) = 6d9602848c8e497de1fdae764bb7aa95
-MD5 (Sablot-0.95-GlobVars.patch) = cd31e69fea8e5f22339c120118c07420
diff --git a/textproc/sablotron/pkg-plist b/textproc/sablotron/pkg-plist
index 8ff0f55ee267..6dde85ed0d98 100644
--- a/textproc/sablotron/pkg-plist
+++ b/textproc/sablotron/pkg-plist
@@ -1,4 +1,6 @@
bin/sabcmd
+include/sabcfg.h
+include/sabdbg.h
include/sablot.h
include/sdom.h
include/shandler.h