Index: head/textproc/c2html/pkg-plist =================================================================== --- head/textproc/c2html/pkg-plist (revision 341160) +++ head/textproc/c2html/pkg-plist (nonexistent) @@ -1,5 +0,0 @@ -bin/c2html -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% Property changes on: head/textproc/c2html/pkg-plist ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/textproc/c2html/Makefile =================================================================== --- head/textproc/c2html/Makefile (revision 341160) +++ head/textproc/c2html/Makefile (revision 341161) @@ -1,26 +1,26 @@ # Created by: Andrey Zakhvatov # $FreeBSD$ PORTNAME= c2html PORTVERSION= 0.9.6 CATEGORIES= textproc www MASTER_SITES= ${MASTER_SITE_SUNSITE} MASTER_SITE_SUBDIR= apps/www/converters MAINTAINER= mkamm@gmx.net COMMENT= C-language sources to HTML converter +LICENSE= GPLv2 + USE_AUTOTOOLS= autoconf213 -MAN1= c2html.1 +PLIST_FILES= bin/c2html man/man1/c2html.1.gz +PORTDOCS= AUTHORS NEWS README -NO_STAGE= yes post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for file in AUTHORS NEWS README - ${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for file in ${PORTDOCS} + ${INSTALL_MAN} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Index: head/textproc/c2html/files/patch-aa =================================================================== --- head/textproc/c2html/files/patch-aa (revision 341160) +++ head/textproc/c2html/files/patch-aa (nonexistent) @@ -1,44 +0,0 @@ ---- Makefile.in.orig Sat Apr 15 17:16:25 2000 -+++ Makefile.in Sun Apr 23 15:53:23 2000 -@@ -27,7 +27,7 @@ - # for gzip because otherwise the load on the web server - # grows without having big benefits. - # COMPRESSION = -DCOMPRESSION=4 --COMPRESSION = -DCOMPRESSION=1 -+COMPRESSION ?= -DCOMPRESSION=1 - - # Dont change things beyond this line. - TARGET = @PROJECT_NAME@ -@@ -59,7 +59,7 @@ - docdir = @DOCDIR@ - CPPFLAGS = @CPPFLAGS@ - --CFLAGS += -O2 -Wall -+CFLAGS ?= -O2 -Wall - ALL_CFLAGS = $(CFLAGS) -I$(srcdir) -I. $(COMPRESSION) - - all: $(TARGET) -@@ -70,10 +70,12 @@ - $(LEXOUTPUT): $(CONFIGS) $(LEXSRCS) $(HDRS) - $(LEX) $(LEXSRCS) - --install: $(TARGET) install-doc -+install: $(TARGET) - @echo "Installing" $(TARGET) "to" $(bindir) - -mkdir -p $(bindir) - $(INSTALL_PROGRAM) $(TARGET) $(bindir)/$(TARGET) -+ -mkdir -p $(man1dir) -+ $(INSTALL_DATA) $(srcdir)/$(MANPAGE) $(man1dir)/$(MANPAGE) - - install-strip: $(TARGET) install-doc - @echo "Installing" $(TARGET) "to" $(bindir) -@@ -81,8 +83,7 @@ - $(INSTALL_PROGRAM) -s $(TARGET) $(bindir)/$(TARGET) - - install-doc: -- -mkdir -p $(man1dir) $(docdir) -- $(INSTALL_DATA) $(srcdir)/$(MANPAGE) $(man1dir)/$(MANPAGE) -+ -mkdir -p $(docdir) - $(INSTALL_DATA) $(srcdir)/AUTHORS $(docdir)/AUTHORS - $(INSTALL_DATA) $(srcdir)/COPYING $(docdir)/COPYING - $(INSTALL_DATA) $(srcdir)/NEWS $(docdir)/NEWS Property changes on: head/textproc/c2html/files/patch-aa ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/textproc/c2html/files/patch-Makefile.in =================================================================== --- head/textproc/c2html/files/patch-Makefile.in (nonexistent) +++ head/textproc/c2html/files/patch-Makefile.in (revision 341161) @@ -0,0 +1,46 @@ +--- ./Makefile.in.orig 2006-03-28 10:26:30.000000000 +0000 ++++ ./Makefile.in 2014-01-26 10:48:24.000000000 +0000 +@@ -27,7 +27,7 @@ + # for gzip because otherwise the load on the web server + # grows without having big benefits. + # COMPRESSION = -DCOMPRESSION=4 +-COMPRESSION = -DCOMPRESSION=1 ++COMPRESSION ?= -DCOMPRESSION=1 + + # Dont change things beyond this line. + TARGET = @PROJECT_NAME@ +@@ -59,7 +59,7 @@ + docdir = @DOCDIR@ + CPPFLAGS = @CPPFLAGS@ + +-CFLAGS += -O2 -Wall ++CFLAGS ?= -O2 -Wall + ALL_CFLAGS = $(CFLAGS) -I$(srcdir) -I. $(COMPRESSION) + + all: $(TARGET) +@@ -70,10 +70,12 @@ + $(LEXOUTPUT): $(CONFIGS) $(LEXSRCS) $(HDRS) + $(LEX) $(LEXSRCS) + +-install: $(TARGET) install-doc ++install: $(TARGET) + @echo "Installing" $(TARGET) "to" $(bindir) +- -mkdir -p $(bindir) +- $(INSTALL_PROGRAM) $(TARGET) $(bindir)/$(TARGET) ++ -mkdir -p $(DESTDIR)$(bindir) ++ $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(bindir)/$(TARGET) ++ -mkdir -p $(DESTDIR)$(man1dir) ++ $(INSTALL_DATA) $(srcdir)/$(MANPAGE) $(DESTDIR)$(man1dir)/$(MANPAGE) + + install-strip: $(TARGET) install-doc + @echo "Installing" $(TARGET) "to" $(bindir) +@@ -81,8 +83,7 @@ + $(INSTALL_PROGRAM) -s $(TARGET) $(bindir)/$(TARGET) + + install-doc: +- -mkdir -p $(man1dir) $(docdir) +- $(INSTALL_DATA) $(srcdir)/$(MANPAGE) $(man1dir)/$(MANPAGE) ++ -mkdir -p $(docdir) + $(INSTALL_DATA) $(srcdir)/AUTHORS $(docdir)/AUTHORS + $(INSTALL_DATA) $(srcdir)/COPYING $(docdir)/COPYING + $(INSTALL_DATA) $(srcdir)/NEWS $(docdir)/NEWS Property changes on: head/textproc/c2html/files/patch-Makefile.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/textproc/cbedic/pkg-plist =================================================================== --- head/textproc/cbedic/pkg-plist (revision 341160) +++ head/textproc/cbedic/pkg-plist (nonexistent) @@ -1 +0,0 @@ -bin/cbedic Property changes on: head/textproc/cbedic/pkg-plist ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/textproc/cbedic/Makefile =================================================================== --- head/textproc/cbedic/Makefile (revision 341160) +++ head/textproc/cbedic/Makefile (revision 341161) @@ -1,24 +1,27 @@ # Created by: Peter Pentchev # $FreeBSD$ PORTNAME= cbedic PORTVERSION= 1.2 PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= SF/kbedic/CBE%20Dictionary/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= An English-to-Bulgarian and Bulgarian-to-English dictionary +LICENSE= GPLv2 + RUN_DEPENDS= ${DICT_DIR}/${DICT_CHECK}:${PORTSDIR}/textproc/bedic-data DICT_CHECK?= buleng.dat DICT_DIR?= ${LOCALBASE}/share +USES= gmake GNU_CONFIGURE= yes -USE_GMAKE= yes CONFIGURE_ARGS= --datadir=${DICT_DIR} -NO_STAGE= yes +PLIST_FILES= bin/cbedic + .include Index: head/textproc/cdif/pkg-plist =================================================================== --- head/textproc/cdif/pkg-plist (revision 341160) +++ head/textproc/cdif/pkg-plist (nonexistent) @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.2 2000/03/16 14:08:51 wiz Exp $ -bin/cdif Property changes on: head/textproc/cdif/pkg-plist ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/textproc/cdif/Makefile =================================================================== --- head/textproc/cdif/Makefile (revision 341160) +++ head/textproc/cdif/Makefile (revision 341161) @@ -1,31 +1,32 @@ # Created by: Yoshiro MIHIRA # $FreeBSD$ PORTNAME= cdif PORTVERSION= 1.19 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= sanpei EXTRACT_SUFX= # empty MAINTAINER= sanpei@FreeBSD.org COMMENT= Word context diff USES= perl5 NO_WRKSUBDIR= yes NO_BUILD= yes -NO_STAGE= yes +PLIST_FILES= bin/cdif + do-extract: ${MKDIR} ${WRKSRC} ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/${DISTNAME}.dist do-patch: ${SED} -e '1s@/usr/local/bin/perl@${PERL}@' \ < ${WRKSRC}/${DISTNAME}.dist > ${WRKSRC}/${DISTNAME} do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/cdif + ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/cdif .include Index: head/textproc/chm2pdf/Makefile =================================================================== --- head/textproc/chm2pdf/Makefile (revision 341160) +++ head/textproc/chm2pdf/Makefile (revision 341161) @@ -1,23 +1,24 @@ # Created by: Kevin Lo # $FreeBSD$ PORTNAME= chm2pdf PORTVERSION= 0.9.1 PORTREVISION= 3 CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} MAINTAINER= kevlo@FreeBSD.org COMMENT= A Python script that converts CHM files into PDF files +LICENSE= GPLv2 + RUN_DEPENDS= htmldoc:${PORTSDIR}/textproc/htmldoc \ ${PYTHON_SITELIBDIR}/chm/chm.py:${PORTSDIR}/textproc/pychm USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_PKGVERSION= 0.9 PLIST_FILES= bin/chm2pdf -NO_STAGE= yes .include Index: head/textproc/code2html/Makefile =================================================================== --- head/textproc/code2html/Makefile (revision 341160) +++ head/textproc/code2html/Makefile (revision 341161) @@ -1,35 +1,32 @@ # Created by: Chris D. Faulhaber # $FreeBSD$ PORTNAME= code2html PORTVERSION= 0.9.1 CATEGORIES= textproc MASTER_SITES= SF \ http://www.palfrader.org/code2html/all/ - MAINTAINER= ports@FreeBSD.org COMMENT= Sourcecode to HTML converter NO_BUILD= yes USES= perl5 USE_PERL5= run -MAN1= code2html.1 -PLIST_FILES= bin/code2html +PLIST_FILES= bin/code2html man/man1/code2html.1.gz -NO_STAGE= yes do-configure: @${REINPLACE_CMD} \ -e 's|/usr/bin/bzip2|${BZIP2_CMD}|' \ -e 's|/bin/gzip|/usr/bin/gzip|' \ -e 's|/etc/|${PREFIX}/etc/|' \ ${WRKSRC}/code2html @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|' \ ${WRKSRC}/code2html.1 do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/code2html ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/code2html.1 ${PREFIX}/man/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/code2html ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/code2html.1 ${STAGEDIR}${PREFIX}/man/man1 .include Index: head/textproc/codespell/Makefile =================================================================== --- head/textproc/codespell/Makefile (revision 341160) +++ head/textproc/codespell/Makefile (revision 341161) @@ -1,50 +1,45 @@ # $FreeBSD$ PORTNAME= codespell PORTVERSION= 1.6 PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://packages.profusion.mobi/${PORTNAME}/ \ https://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/ EXTRACT_SUFX= .tar.xz MAINTAINER= gjb@FreeBSD.org COMMENT= Source code spelling checker LICENSE= GPLv2 USE_PYTHON= 3.1+ USE_PYTHON_RUN= yes USE_XZ= yes +OPTIONS_DEFINE= DOCS EXAMPLES + PLIST_FILES= bin/codespell PORTDOCS= COPYING README TODO PORTEXAMPLES= * SUB_FILES+= pkg-message -NO_STAGE= yes -.include - do-build: ${REINPLACE_CMD} 's|#!/usr/bin/env python3|#!${LOCALBASE}/bin/${PYTHON_VERSION}|' \ ${WRKSRC}/codespell.py do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/codespell.py ${PREFIX}/bin/codespell + ${INSTALL_SCRIPT} ${WRKSRC}/codespell.py ${STAGEDIR}${PREFIX}/bin/codespell -post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} . for i in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} . endfor -.endif .for i in data example - @${MKDIR} ${EXAMPLESDIR}/${i} - @${INSTALL_DATA} ${WRKSRC}/${i}/* ${EXAMPLESDIR}/${i} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${i} + ${INSTALL_DATA} ${WRKSRC}/${i}/* ${STAGEDIR}${EXAMPLESDIR}/${i} .endfor - @${CAT} ${PKGMESSAGE} -.include +.include Index: head/textproc/confetti/pkg-plist =================================================================== --- head/textproc/confetti/pkg-plist (revision 341160) +++ head/textproc/confetti/pkg-plist (nonexistent) @@ -1,8 +0,0 @@ -bin/confetti -%%EXAMPLES%%%%EXAMPLESDIR%%/example/example.c -%%EXAMPLES%%%%EXAMPLESDIR%%/example/Makefile -%%EXAMPLES%%%%EXAMPLESDIR%%/example/my_my_product.cfg -%%EXAMPLES%%%%EXAMPLESDIR%%/example/example_buffer.c -%%EXAMPLES%%%%EXAMPLESDIR%%/example/example.cfgtmpl -%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%/example -%%EXAMPLES%%@dirrm %%EXAMPLESDIR%% Property changes on: head/textproc/confetti/pkg-plist ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/textproc/confetti/Makefile =================================================================== --- head/textproc/confetti/Makefile (revision 341160) +++ head/textproc/confetti/Makefile (revision 341161) @@ -1,44 +1,34 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= confetti PORTVERSION= 0.0.${DATE} CATEGORIES= textproc MASTER_SITES= LOCAL/vg MAINTAINER= vg@FreeBSD.org COMMENT= Configuration file parser generator BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex USE_BZIP2= yes -USE_GMAKE= yes -USES= bison perl5 +USES= bison perl5 gmake DATE= 20120801 MAKE_ARGS+= FLEX=${LOCALBASE}/bin/flex MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= EXAMPLES -NO_STAGE= yes -.include +PLIST_FILES= bin/confetti +PORTEXAMPLES= * -.if ${PORT_OPTIONS:MEXAMPLES} -PLIST_SUB+= EXAMPLES="" -.else -PLIST_SUB+= EXAMPLES="@comment " -.endif - post-patch: @${REINPLACE_CMD} -e 's|CC=|CC?=|' -e 's|CFLAGS=|CFLAGS?=|' \ ${WRKSRC}/Makefile do-install: - ${INSTALL} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} -post-install: -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} example ${EXAMPLESDIR} -.endif + ${INSTALL} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include Index: head/textproc/csv2latex/Makefile =================================================================== --- head/textproc/csv2latex/Makefile (revision 341160) +++ head/textproc/csv2latex/Makefile (revision 341161) @@ -1,36 +1,37 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= csv2latex PORTVERSION= 0.18 PORTEPOCH= 1 CATEGORIES= textproc converters MASTER_SITES= http://ftp.debian.org/pool/main/c/csv2latex/ DISTNAME= ${PORTNAME}_${PORTVERSION}.orig MAINTAINER= wen@FreeBSD.org COMMENT= Converts a well formed csv file to a LaTeX document +LICENSE= GPLv2 + WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= bin/csv2latex -NO_STAGE= yes do-build: ${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .if ( defined(WITH_MAN) && !defined(NO_INSTALL_MANPAGES) ) BUILD_DEPENDS += docbook-to-man:${PORTSDIR}/textproc/docbook-to-man -MAN1= ${PORTNAME}.1 +PLIST_FILES+= man/man1/${PORTNAME}.1.gz post-build: - docbook-to-man ${WRKSRC}/${PORTNAME}.sgml > ${WRKSRC}/${MAN1} + docbook-to-man ${WRKSRC}/${PORTNAME}.sgml > ${WRKSRC}/${PORTNAME}.1 post-install: - ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .endif .include Index: head/textproc/csv2xml/Makefile =================================================================== --- head/textproc/csv2xml/Makefile (revision 341160) +++ head/textproc/csv2xml/Makefile (revision 341161) @@ -1,26 +1,26 @@ # Created by: Jacob Rhoden # $FreeBSD$ PORTNAME= csv2xml PORTVERSION= 0.6 CATEGORIES= textproc MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= A simple but effective csv to xml converter USE_BZIP2= yes -MAN1= csv2xml.1 -MANCOMPRESSED= yes -PLIST_FILES= bin/csv2xml +PLIST_FILES= bin/csv2xml man/man1/csv2xml.1.gz MAKE_ARGS= FLAGS="${CXXFLAGS}" -NO_STAGE= yes post-patch: - @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' \ - -e 's/^\(COMPILER[^g]*\)g++$$/\1${CXX}/' \ + @${REINPLACE_CMD} -e 's/^\(COMPILER[^g]*\)g++$$/\1${CXX}/' \ ${WRKSRC}/src/Makefile \ ${WRKSRC}/man/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/csv2xml ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/man/csv2xml.1 ${STAGEDIR}${PREFIX}/man/man1 .include Index: head/textproc/csvdiff/Makefile =================================================================== --- head/textproc/csvdiff/Makefile (revision 341160) +++ head/textproc/csvdiff/Makefile (revision 341161) @@ -1,34 +1,29 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= csvdiff PORTVERSION= 1.7 CATEGORIES= textproc perl5 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} #DISTNAME= ${PORTNAME}_${PORTVERSION:S,.,-,g} DISTNAME= ${PORTNAME}17 EXTRACT_SUFX= .tgz MAINTAINER= sylvio@FreeBSD.org COMMENT= Compare/diff two (comma) separated files with each other NO_BUILD= yes USES= perl5 PLIST_FILES= bin/csvdiff WRKSRC= ${WRKDIR} -.if !defined(NOPORTDOCS) PORTDOCS= CHANGES README TODO -.endif -NO_STAGE= yes do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \ - ${PREFIX}/bin/${PORTNAME} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Index: head/textproc/ctpp2/Makefile =================================================================== --- head/textproc/ctpp2/Makefile (revision 341160) +++ head/textproc/ctpp2/Makefile (revision 341161) @@ -1,71 +1,45 @@ # Created by: Andrei V. Shetuhin # $FreeBSD$ PORTNAME= ctpp2 PORTVERSION= 2.8.3 PORTREVISION= 1 CATEGORIES= textproc devel MASTER_SITES= http://ctpp.havoc.ru/download/ MAINTAINER= vg@FreeBSD.org COMMENT= C++ library to use templates in C/C++ projects, version 2 USES= cmake gettext iconv:build USE_LDCONFIG= yes USE_GCC= yes PLIST_SUB+= PORTVERSION=${PORTVERSION} -MAN1= ctpp2c.1 ctpp2vm.1 ctpp2i.1 ctpp2json.1 ctpp2-config.1 - OPTIONS_DEFINE= DEBUG DISCARD_ILSEQ DOCS MD5 OPTIMIZATION TRANSLITERATE OPTIONS_DEFAULT= DISCARD_ILSEQ MD5 OPTIMIZATION TRANSLITERATE DEBUG_DESC= Enable debug output OPTIMIZATION_DESC= Enable optimization MD5_DESC= Enable md5 support DISCARD_ILSEQ_DESC= Discard illegal sequence and continue TRANSLITERATE_DESC= Enable transliteration in the conversion -NO_STAGE= yes -.include +OPTIONS_SUB= yes -.if ${PORT_OPTIONS:MDEBUG} -CMAKE_ARGS+= -DDEBUG_MODE=ON -.else -CMAKE_ARGS+= -DDEBUG_MODE=OFF -.endif +DEBUG_CMAKE_ON= -DDEBUG_MODE=ON +DEBUG_CMAKE_OFF= -DDEBUG_MODE=OFF +DOCS_BUILD_DEPENDS= rst2html:${PORTSDIR}/textproc/py-docutils +DOCS_CMAKE_ON= -DENABLE_DOCS=ON +DOCS_CMAKE_OFF= -DENABLE_DOCS=OFF +MD5_CMAKE_ON= -DMD5_SUPPORT=ON +MD5_CMAKE_OFF= -DMD5_SUPPORT=OFF +DISCARD_ILSEQ_CMAKE_ON= -DICONV_DISCARD_ILSEQ=ON +DISCARD_ILSEQ_CMAKE_OFF= -DICONV_DISCARD_ILSEQ=OFF +TRANSLITERATE_CMAKE_ON= -DICONV_TRANSLITERATE=ON +TRANSLITERATE_CMAKE_OFF= -DICONV_TRANSLITERATE=OFF +OPTIMIZATION_CMAKE_ON= -DENABLE_OPTIMIZATION=ON +OPTIMIZATION_CMAKE_OFF= -DENABLE_OPTIMIZATION=OFF -.if ${PORT_OPTIONS:MDOCS} -BUILD_DEPENDS+= rst2html:${PORTSDIR}/textproc/py-docutils -CMAKE_ARGS+= -DENABLE_DOCS=ON -PLIST_SUB+= DOCS="" -.else -CMAKE_ARGS+= -DENABLE_DOCS=OFF -PLIST_SUB+= DOCS="@comment " -.endif - -.if ${PORT_OPTIONS:MMD5} -CMAKE_ARGS+= -DMD5_SUPPORT=ON -.else -CMAKE_ARGS+= -DMD5_SUPPORT=OFF -.endif - -.if ${PORT_OPTIONS:MDISCARD_ILSEQ} -CMAKE_ARGS+= -DICONV_DISCARD_ILSEQ=ON -.else -CMAKE_ARGS+= -DICONV_DISCARD_ILSEQ=OFF -.endif - -.if ${PORT_OPTIONS:MTRANSLITERATE} -CMAKE_ARGS+= -DICONV_TRANSLITERATE=ON -.else -CMAKE_ARGS+= -DICONV_TRANSLITERATE=OFF -.endif - -.if ${PORT_OPTIONS:MOPTIMIZATION} -CMAKE_ARGS+= -DENABLE_OPTIMIZATION=ON -.else -CMAKE_ARGS+= -DENABLE_OPTIMIZATION=OFF -.endif +PORTDOCS= template_language.html .include Index: head/textproc/ctpp2/pkg-plist =================================================================== --- head/textproc/ctpp2/pkg-plist (revision 341160) +++ head/textproc/ctpp2/pkg-plist (revision 341161) @@ -1,74 +1,77 @@ bin/ctpp2-config bin/ctpp2c bin/ctpp2i bin/ctpp2json bin/ctpp2vm include/ctpp2/CDT.hpp include/ctpp2/CDTSortRoutines.hpp include/ctpp2/CTPP2BitIndex.hpp include/ctpp2/CTPP2CharIterator.hpp include/ctpp2/CTPP2Compiler.hpp include/ctpp2/CTPP2DTOA.hpp include/ctpp2/CTPP2Exception.hpp include/ctpp2/CTPP2Error.hpp include/ctpp2/CTPP2ErrorCodes.h include/ctpp2/CTPP2FileLogger.hpp include/ctpp2/CTPP2FileOutputCollector.hpp include/ctpp2/CTPP2FileSourceLoader.hpp include/ctpp2/CTPP2GetText.hpp include/ctpp2/CTPP2GlobalDefines.h include/ctpp2/CTPP2HashTable.hpp include/ctpp2/CTPP2JSONFileParser.hpp include/ctpp2/CTPP2JSONParser.hpp include/ctpp2/CTPP2Logger.hpp include/ctpp2/CTPP2OutputCollector.hpp include/ctpp2/CTPP2Parser.hpp include/ctpp2/CTPP2ParserException.hpp include/ctpp2/CTPP2SimpleCompiler.hpp include/ctpp2/CTPP2SimpleVM.hpp include/ctpp2/CTPP2SourceLoader.hpp include/ctpp2/CTPP2Sprintf.hpp include/ctpp2/CTPP2StaticData.hpp include/ctpp2/CTPP2StaticText.hpp include/ctpp2/CTPP2StreamOutputCollector.hpp include/ctpp2/CTPP2StringBuffer.hpp include/ctpp2/CTPP2StringIconvOutputCollector.hpp include/ctpp2/CTPP2StringOutputCollector.hpp include/ctpp2/CTPP2SymbolTable.hpp include/ctpp2/CTPP2Syntax.h include/ctpp2/CTPP2SysHeaders.h include/ctpp2/CTPP2SysTypes.h include/ctpp2/CTPP2SyscallFactory.hpp include/ctpp2/CTPP2Types.h include/ctpp2/CTPP2Util.hpp include/ctpp2/CTPP2VM.hpp include/ctpp2/CTPP2VMArgStack.hpp include/ctpp2/CTPP2VMCodeStack.hpp include/ctpp2/CTPP2VMDebugInfo.hpp include/ctpp2/CTPP2VMDumper.hpp include/ctpp2/CTPP2VMException.hpp include/ctpp2/CTPP2VMExecutable.hpp include/ctpp2/CTPP2VMFileLoader.hpp include/ctpp2/CTPP2VMInstruction.hpp include/ctpp2/CTPP2VMLoader.hpp include/ctpp2/CTPP2VMMemoryCore.hpp include/ctpp2/CTPP2VMOpcodeCollector.hpp include/ctpp2/CTPP2VMOpcodes.h include/ctpp2/CTPP2VMSTDLib.hpp include/ctpp2/CTPP2VMStackException.hpp include/ctpp2/CTPP2VMSyscall.hpp include/ctpp2/STLException.hpp include/ctpp2/STLFunctional.hpp include/ctpp2/STLIosfwd.hpp include/ctpp2/STLMap.hpp include/ctpp2/STLOstream.hpp include/ctpp2/STLPair.hpp include/ctpp2/STLString.hpp include/ctpp2/STLVector.hpp -%%DOCS%%%%DOCSDIR%%/template_language.html lib/libctpp2-st.a lib/libctpp2.so lib/libctpp2.so.2 lib/libctpp2.so.%%PORTVERSION%% -%%DOCS%%@dirrm %%DOCSDIR%% +man/man1/ctpp2c.1.gz +man/man1/ctpp2vm.1.gz +man/man1/ctpp2i.1.gz +man/man1/ctpp2json.1.gz +man/man1/ctpp2-config.1.gz @dirrm include/ctpp2