diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2004-12-12 17:55:18 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2004-12-12 17:55:18 +0000 |
commit | c0b7f1d89c456208454a11a34aff43612c8c7bcd (patch) | |
tree | 9d4c0cef7729f16aaec3fce9b0c62ab4a570c513 /textproc | |
parent | 2919df34f8a097ffab6c5bd556dbf7e0e79d5360 (diff) | |
download | ports-c0b7f1d89c456208454a11a34aff43612c8c7bcd.tar.gz ports-c0b7f1d89c456208454a11a34aff43612c8c7bcd.zip |
Notes
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/sablotron/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/textproc/sablotron/Makefile b/textproc/sablotron/Makefile index 98f19cdb4d38..9597f3baf39e 100644 --- a/textproc/sablotron/Makefile +++ b/textproc/sablotron/Makefile @@ -15,12 +15,12 @@ COMMENT= XML toolkit implementing XSLT 1.0, XPath 1.0 and DOM Level2 LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 -# If WITH_DISABLE_META is defined sablot will not output the META html tag -#WITH_DISABLE_META= yes - -# Define WITH_ICONV_TYPECAST to typecast the second parameter -# of iconv to char** -#WITH_ICONV_TYPECAST= yes +OPTIONS= DISABLE_META "Do not output the META html tag" off \ + ICONV_TYPECAST "Use iconv typecast" off \ + DOM "Use DOM" on \ + DOCUMENT_ERRORS "Allow document errors" on \ + CHECK_LEAKS "Enable memory leaks checking" off \ + DEBUGGER "Enable debugger" off INSTALLS_SHLIB= yes @@ -38,7 +38,7 @@ MAN1= sabcmd.1 .include <bsd.port.pre.mk> -.if defined(WITHOUT_ADDING_META) +.if defined(WITH_DISABLE_META) CONFIGURE_ARGS+= --disable-adding-meta .endif @@ -73,6 +73,7 @@ post-patch: @${PERL} -pi -e \ 's!(?<=libsablot_la_LDFLAGS = -version-info )(\d+):(\d+):\1!${SHLIB_MAJOR}:$$1:${SHLIB_MAJOR}!;' \ ${WRKSRC}/src/engine/Makefile.in + @${PERL} -pi -e 's!se // !! if $$. = 407' ${WRKSRC}/src/engine/base.h .if defined(NOPORTDOCS) @${PERL} -pi -e 's!(?<=SUBDIRS = )(.*)!man!' ${WRKSRC}/doc/Makefile.in .endif |