Another "lite" markup scheme that can generate html, lout, etc.

This commit is contained in:
Alan Eldridge 2003-01-01 16:03:43 +00:00
parent 091612ee8e
commit 239540b083
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72026
5 changed files with 97 additions and 0 deletions

View file

@ -370,6 +370,7 @@
SUBDIR += tth
SUBDIR += txt2html
SUBDIR += txt2man
SUBDIR += txt2tags
SUBDIR += ua-ispell
SUBDIR += unroff
SUBDIR += unrtf

View file

@ -0,0 +1,89 @@
# ex:ts=8 -*-mode: makefile-*-
#
# New ports collection makefile for: txt2tags
# Date created: 2002-12-20
# Whom: Alan Eldridge <alane@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= txt2tags
PORTVERSION= 1.3
PORTREVISION= 0
PORTEPOCH= 0
CATEGORIES= textproc
MASTER_SITES= http://txt2tags.sourceforge.net/src/
EXTRACT_SUFX= .tgz
MAINTAINER= alane@freebsd.org
NO_BUILD= yes
USE_PYTHON= yes
PLIST= ${WRKDIR}/plist
PREFIX= ${LOCALBASE}
.include <bsd.port.pre.mk>
DOCS_SUBDIR= ${DOCSDIR:S|^${PREFIX}/||}
EXAMPLES_SUBDIR= ${EXAMPLESDIR:S|^${PREFIX}/||}
BIN_SUBDIR= bin
BINDIR= ${PREFIX}/${BIN_SUBDIR}
DATA_SUBDIR= share
DATADIR= ${PREFIX}/${DATA_SUBDIR}
ETC_SUBDIR= etc
ETCDIR= ${PREFIX}/${ETC_SUBDIR}
LIB_SUBDIR= lib
LIBDIR= ${PREFIX}/${LIB_SUBDIR}
PKGDATA_SUBDIR= share/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
PKGDATADIR= ${PREFIX}/${PKGDATA_SUBDIR}
PKGETC_SUBDIR= etc/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
PKGETCDIR= ${PREFIX}/${PKGETC_SUBDIR}
PKGLIB_SUBDIR= lib/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
PKGLIBDIR= ${PREFIX}/${PKGLIB_SUBDIR}
post-patch:
>${PLIST}
ADD2PLIST= ${ECHO_CMD} >>${PLIST}
do-install:
${MKDIR} ${BINDIR}
cd ${WRKSRC};\
${INSTALL_SCRIPT} txt2tags ${BINDIR};\
${ADD2PLIST} ${BIN_SUBDIR}/txt2tags
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${MKDIR} ${DOCSDIR}/userguide
${MKDIR} ${EXAMPLESDIR}
${MKDIR} ${EXAMPLESDIR}/contrib
${MKDIR} ${EXAMPLESDIR}/extras
${MKDIR} ${EXAMPLESDIR}/samples
cd ${WRKSRC};\
for i in ChangeLog.txt README.txt README.html RULES; do\
${INSTALL_DATA} $$i ${DOCSDIR};\
${ADD2PLIST} ${DOCS_SUBDIR}/$$i;\
done
cd ${WRKSRC};\
${INSTALL_DATA} userguide/* ${DOCSDIR}/userguide;\
for i in userguide/*; do\
${ADD2PLIST} ${DOCS_SUBDIR}/userguide/$$(basename $$i);\
done
.for dir in contrib extras samples
cd ${WRKSRC};\
${INSTALL_DATA} ${dir}/* ${EXAMPLESDIR}/${dir};\
for i in ${dir}/*; do\
${ADD2PLIST} ${EXAMPLES_SUBDIR}/${dir}/$$(basename $$i);\
done
.endfor
${ADD2PLIST} "@dirrm" ${EXAMPLES_SUBDIR}/samples
${ADD2PLIST} "@dirrm" ${EXAMPLES_SUBDIR}/extras
${ADD2PLIST} "@dirrm" ${EXAMPLES_SUBDIR}/contrib
${ADD2PLIST} "@dirrm" ${EXAMPLES_SUBDIR}
${ADD2PLIST} "@dirrm" ${DOCS_SUBDIR}/userguide
${ADD2PLIST} "@dirrm" ${DOCS_SUBDIR}
.endif # !defined(NOPORTDOCS)
.include <bsd.port.post.mk>
#EOF

View file

@ -0,0 +1 @@
MD5 (txt2tags-1.3.tgz) = 114c4b7b1a51565e75ebcbd479166cc2

View file

@ -0,0 +1 @@
Utility to turn simply formatted text into markup (e.g., HTML)

View file

@ -0,0 +1,5 @@
txt2tags is a utility to turn simply formatted text into markup (e.g., HTML).
WWW: http://txt2tags.sourceforge.net/
-- AlanE <alane@freebsd.org>