diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-08-29 22:13:51 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-08-29 22:13:51 +0000 |
commit | f5fa5a21af1f69b55a53a2ee1d084225c47d167c (patch) | |
tree | b04fb29e7c187a67ee072760decdb69e1026d0e8 /textproc | |
parent | d05b095ba967b2a2e99fd1a5afa913914dc20e45 (diff) | |
download | ports-f5fa5a21af1f69b55a53a2ee1d084225c47d167c.tar.gz ports-f5fa5a21af1f69b55a53a2ee1d084225c47d167c.zip |
Notes
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/txt2tags/Makefile | 12 | ||||
-rw-r--r-- | textproc/txt2tags/pkg-plist | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/textproc/txt2tags/Makefile b/textproc/txt2tags/Makefile index fbbed37915e3..8f936c0c16e8 100644 --- a/textproc/txt2tags/Makefile +++ b/textproc/txt2tags/Makefile @@ -7,19 +7,23 @@ PORTNAME= txt2tags PORTVERSION= 2.5 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= SF EXTRACT_SUFX= .tgz -MAINTAINER= ports@FreeBSD.org +MAINTAINER= scjamorim@bsd.com.br COMMENT= Convert simply formatted text into markup (e.g., HTML) USE_PYTHON= yes NO_BUILD= yes -DOCS= ChangeLog README TODO doc/userguide.pdf +PORTDOCS= ChangeLog README TODO userguide.pdf SAMPLE_DIRS= css img module +post-patch: + @${MV} ${WRKSRC}/doc/userguide.pdf ${WRKSRC}/ + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/txt2tags ${PREFIX}/bin .for dir in ${SAMPLE_DIRS} @@ -31,7 +35,9 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/extras/* ${EXAMPLESDIR}/extras .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.for docs in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} +.endfor .endif .include <bsd.port.mk> diff --git a/textproc/txt2tags/pkg-plist b/textproc/txt2tags/pkg-plist index 0ec6ad75b3a7..96129f16e806 100644 --- a/textproc/txt2tags/pkg-plist +++ b/textproc/txt2tags/pkg-plist @@ -1,10 +1,4 @@ -@comment $FreeBSD$ bin/txt2tags -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%%%DOCSDIR%%/userguide.pdf -%%PORTDOCS%%@dirrm %%DOCSDIR%% %%EXAMPLESDIR%%/css/color.css %%EXAMPLESDIR%%/css/color.html %%EXAMPLESDIR%%/css/modern.css |