summaryrefslogtreecommitdiff
path: root/textproc/txt2tags
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-08-29 22:13:51 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-08-29 22:13:51 +0000
commitf5fa5a21af1f69b55a53a2ee1d084225c47d167c (patch)
treeb04fb29e7c187a67ee072760decdb69e1026d0e8 /textproc/txt2tags
parent- Small cleanup (diff)
- Respect PORTDOCS
- Pass maintainership to submitter PR: 138294 Submitted by: Sylvio Cesar <scjamorim@bsd.com.br>
Notes
Notes: svn path=/head/; revision=240536
Diffstat (limited to 'textproc/txt2tags')
-rw-r--r--textproc/txt2tags/Makefile12
-rw-r--r--textproc/txt2tags/pkg-plist6
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