ports/161597: Update port: www/august

KATO Tsuguru tkato432 at yahoo.com
Fri Oct 14 18:50:09 UTC 2011


>Number:         161597
>Category:       ports
>Synopsis:       Update port: www/august
>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:   Fri Oct 14 18:50:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Add LICENSE
- Support USE_TK_WRAPPER
- Support PORTDOCS/PLIST_FILES

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/www/august/Makefile www/august/Makefile
--- /usr/ports/www/august/Makefile	2010-03-28 17:47:06.000000000 +0900
+++ www/august/Makefile	2011-09-09 04:08:24.000000000 +0900
@@ -11,36 +11,36 @@
 PORTVERSION=	0.63b
 PORTREVISION=	5
 CATEGORIES=	www editors
-MASTER_SITES=	http://www.bostream.nu/johanb/august/
+MASTER_SITES=	http://fossies.org/unix/www/old/ \
+		http://www.sourcefiles.org/Editors/HTML/ \
+		http://www.erjobe.info/mainwiki/pmwiki/uploads/Main/August/
 DISTNAME=	${PORTNAME}${PORTVERSION}.src
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	HTML editor for the experienced Web author
 
-RUN_DEPENDS=	weblint:${PORTSDIR}/www/weblint \
-		identify:${PORTSDIR}/graphics/ImageMagick \
-		wish8.4:${PORTSDIR}/x11-toolkits/tk84
+LICENSE=	GPLv2 # (or later)
+LICENSE_FILE=	${WRKSRC}/license.txt
+
+RUN_DEPENDS=	identify:${PORTSDIR}/graphics/ImageMagick \
+		weblint:${PORTSDIR}/www/weblint
 
 NO_BUILD=	yes
-PLIST=		${WRKDIR}/pkg-plist
 
-do-patch:
-	${MV} ${WRKSRC}/august ${WRKSRC}/august.orig
-	${SED} -e "s:/usr/bin/wish:${PREFIX}/bin/wish8.4:g" \
-		< ${WRKSRC}/august.orig > ${WRKSRC}/august
+USE_TK_WRAPPER=	yes
 
-pre-install:
-	${ECHO_CMD} bin/august > ${PLIST}
-.if !defined(NOPORTDOCS)
-	${ECHO_CMD} share/doc/august/specchars.txt >> ${PLIST}
-	${ECHO_CMD} @dirrm share/doc/august >> ${PLIST}
-.endif
+PORTDOCS=	specchars.txt
+PLIST_FILES=	bin/august
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|/usr/bin|${LOCALBASE}/bin|g' ${WRKSRC}/august
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/august ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/august
-	${INSTALL_DATA} ${WRKSRC}/specchars.txt ${PREFIX}/share/doc/august
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/specchars.txt ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/www/august/pkg-descr www/august/pkg-descr
--- /usr/ports/www/august/pkg-descr	2004-04-08 02:46:53.000000000 +0900
+++ www/august/pkg-descr	2011-08-28 13:52:47.000000000 +0900
@@ -1,4 +1,4 @@
 August is a complete, non-WYSIWYG, HTML editor written in Tcl/Tk.
 It is meant for the experienced Web author.
 
-WWW:  http://www.bostream.nu/johanb/august/
+WWW: http://www.erjobe.info/index.php?n=Main.August
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list