update textproc/txt2tags: 1.3 --> 1.5

PR:		53172
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
This commit is contained in:
Daichi GOTO 2003-07-01 11:24:56 +00:00
parent 3a5c8c8687
commit 0a368773e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83979
2 changed files with 16 additions and 71 deletions

View file

@ -1,5 +1,3 @@
# ex:ts=8 -*-mode: makefile-*-
#
# New ports collection makefile for: txt2tags
# Date created: 2002-12-20
# Whom: Alan Eldridge <alane@freebsd.org>
@ -8,83 +6,30 @@
#
PORTNAME= txt2tags
PORTVERSION= 1.3
PORTREVISION= 0
PORTEPOCH= 0
PORTVERSION= 1.5
CATEGORIES= textproc
MASTER_SITES= http://txt2tags.sourceforge.net/src/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
MAINTAINER= sergei@kolobov.com
COMMENT= Utility to turn simply formatted text into markup (e.g., HTML)
NO_BUILD= yes
USE_PYTHON= yes
PLIST= ${WRKDIR}/plist
PREFIX= ${LOCALBASE}
NO_BUILD= yes
.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}
DOCS= ChangeLog.txt README.html README.txt RULES TODO userguide/*
CONTRIB= contrib/* extras/*
EXAMPLES= samples/*
do-install:
${MKDIR} ${BINDIR}
cd ${WRKSRC};\
${INSTALL_SCRIPT} txt2tags ${BINDIR};\
${ADD2PLIST} ${BIN_SUBDIR}/txt2tags
${INSTALL_SCRIPT} ${WRKSRC}/txt2tags ${PREFIX}/bin
@${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${CONTRIB} ${DATADIR}
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.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)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
#EOF
.include <bsd.port.mk>

View file

@ -1 +1 @@
MD5 (txt2tags-1.3.tgz) = 114c4b7b1a51565e75ebcbd479166cc2
MD5 (txt2tags-1.5.tgz) = bb8675a483ba5285403d19c971a016fa