summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/tetradraw/Makefile11
-rw-r--r--editors/tetradraw/pkg-descr2
2 files changed, 10 insertions, 3 deletions
diff --git a/editors/tetradraw/Makefile b/editors/tetradraw/Makefile
index 5231a374b68d..d4e444f5c2b2 100644
--- a/editors/tetradraw/Makefile
+++ b/editors/tetradraw/Makefile
@@ -8,14 +8,21 @@
PORTNAME= tetradraw
PORTVERSION= 2.0.2
+PORTREVISION= 1
CATEGORIES= editors
-MASTER_SITES= ftp://tentacle.dhs.org/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@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 --git a/editors/tetradraw/pkg-descr b/editors/tetradraw/pkg-descr
index 7aa027d4902c..3a37a7af7633 100644
--- a/editors/tetradraw/pkg-descr
+++ b/editors/tetradraw/pkg-descr
@@ -5,4 +5,4 @@ ANSI art editor for Unix operating systems. Tetradraw does not just emulate
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/