ports/57888: Update port: editors/tetradraw

KATO Tsuguru tkato at prontomail.com
Sun Oct 12 12:00:46 UTC 2003


>Number:         57888
>Category:       ports
>Synopsis:       Update port: editors/tetradraw
>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:   Sun Oct 12 05:00:34 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Support CFLAGS properly

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/editors/tetradraw/Makefile editors/tetradraw/Makefile
--- /usr/ports/editors/tetradraw/Makefile	Fri Feb 21 02:12:50 2003
+++ editors/tetradraw/Makefile	Sat Oct 11 23:57:54 2003
@@ -8,14 +8,21 @@
 
 PORTNAME=	tetradraw
 PORTVERSION=	2.0.2
+PORTREVSION=	1
 CATEGORIES=	editors
-MASTER_SITES=	ftp://tentacle.dhs.org/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Fully featured ANSI art editor/viewer with TCP/IP multidraw support
 
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|^CFLAGS =.*$$|CFLAGS = @CFLAGS@|g' ${WRKSRC}/src/Makefile.in
 
 post-install:
 	@${CAT} ${PKGMESSAGE}
diff -urN /usr/ports/editors/tetradraw/pkg-descr editors/tetradraw/pkg-descr
--- /usr/ports/editors/tetradraw/pkg-descr	Mon Feb 17 02:25:57 2003
+++ editors/tetradraw/pkg-descr	Sat Oct 11 23:48:34 2003
@@ -5,4 +5,4 @@
 the ANSI editors for DOS: it also allows two artists to edit the same image 
 simultaneously over the Internet.
 
-WWW: http://tentacle.dhs.org/
+WWW: http://tetradraw.sourceforge.net/
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list