ports/138294: [PATCH] textproc/txt2tags: Changed Makefile. Take maintainership.

Sylvio Cesar scjamorim at bsd.com.br
Sat Aug 29 00:20:02 UTC 2009


>Number:         138294
>Category:       ports
>Synopsis:       [PATCH] textproc/txt2tags: Changed Makefile. Take maintainership.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 29 00:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sylvio Cesar
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD fbsd72.scjamorim.org 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug  3 22:10:47 BRT
>Description:
- Replaced DOCS by PORTDOCS
- Changed pkg-plist
- Added post-patch

You can see log in mine tinderbox:
http://www.scjamorim.org/Home/txt2tags-2.5_amd64.log

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- txt2tags-2.5.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/txt2tags/Makefile,v
retrieving revision 1.13
diff -u -u -r1.13 Makefile
--- Makefile	28 Aug 2009 17:37:15 -0000	1.13
+++ Makefile	29 Aug 2009 00:04:55 -0000
@@ -11,15 +11,18 @@
 MASTER_SITES=	SF
 EXTRACT_SUFX=	.tgz
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	scjamorim at 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 +34,9 @@
 	${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>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/textproc/txt2tags/pkg-plist,v
retrieving revision 1.5
diff -u -u -r1.5 pkg-plist
--- pkg-plist	10 Aug 2008 02:51:00 -0000	1.5
+++ pkg-plist	29 Aug 2009 00:04:55 -0000
@@ -1,10 +1,4 @@
- at comment $FreeBSD: ports/textproc/txt2tags/pkg-plist,v 1.5 2008/08/10 02:51:00 chinsan Exp $
 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
--- txt2tags-2.5.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list