1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

- New port: ansifilter

Ansifilter is a customizable ANSI Code converter. ansifilter can
  output to plain text, HTML, and RTF.

PR:		125444
Submitted by:	Yi-Jheng Lin <yzlin@cs.nctu.edu.tw> (new maintainer)
This commit is contained in:
Pietro Cerutti 2008-07-09 21:27:14 +00:00
parent 2ef3a4cdea
commit c6182d6159
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216638
4 changed files with 55 additions and 0 deletions

View File

@ -13,6 +13,7 @@
SUBDIR += aiksaurus-gtk
SUBDIR += align
SUBDIR += am-aspell
SUBDIR += ansifilter
SUBDIR += ant-xinclude-task
SUBDIR += antiword
SUBDIR += archmage

View File

@ -0,0 +1,47 @@
# New ports collection makefile for: ansifilter
# Date created: 09 July 2008
# Whom: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= ansifilter
PORTVERSION= 1.1
CATEGORIES= textproc
MASTER_SITES= http://www.andre-simon.de/zip/
MAINTAINER= yzlin@cs.nctu.edu.tw
COMMENT= Customizable ANSI Code Converter
USE_BZIP2= yes
MAKEFILE= makefile
MAKE_ARGS= CC="${CXX}" \
CFLAGS="${CXXFLAGS} ${CPPFLAGS} -c" \
LDFLAGS="${LDFLAGS}"
PLIST_FILES= bin/ansifilter
MAN1= ${PORTNAME}.1
MANCOMPRESSED= yes
.if !defined(NOPORTDOCS)
PORTDOCS= ChangeLog INSTALL README
.endif
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e \
's|^PREFIX =|PREFIX ?=|' ${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/${MAN1}.gz ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (ansifilter-1.1.tar.bz2) = 293581816a08f8ac7a49934958cfac14
SHA256 (ansifilter-1.1.tar.bz2) = ffa02d1e5b98bec6156d9f4cc9ce3b1cf9653434caadb1537aba4b3f001d8f73
SIZE (ansifilter-1.1.tar.bz2) = 46893

View File

@ -0,0 +1,4 @@
ansifilter is a customizable ANSI Code converter. ansifilter can
output to plain text, HTML, and RTF.
WWW: http://www.andre-simon.de/