summaryrefslogtreecommitdiff
path: root/irc/scrollz
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-07-08 15:31:51 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-07-08 15:31:51 +0000
commitb29f62f0c92ad7dfc8de17fe5cd7bc3eed305d45 (patch)
tree2c51ed8a48927c4eb0e54bdd7063ecf25f3ba98d /irc/scrollz
parentUpdate to 0.2.0. (diff)
Fix build for packages
PR: 28816 Submitted by: maintainer
Diffstat (limited to 'irc/scrollz')
-rw-r--r--irc/scrollz/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/irc/scrollz/Makefile b/irc/scrollz/Makefile
index ffa34a58a528..400f231d0fc4 100644
--- a/irc/scrollz/Makefile
+++ b/irc/scrollz/Makefile
@@ -7,6 +7,7 @@
PORTNAME= scrollz
PORTVERSION= 1.8l
+PORTREVISION= 1
CATEGORIES= irc ipv6
MASTER_SITES= ftp://ftp.scrollz.com/pub/ScrollZ/source/ \
ftp://ftp.stealth.net/pub/mirrors/ftp.scrollz.com/pub/ScrollZ/source
@@ -14,6 +15,7 @@ DISTNAME= ScrollZ-${PORTVERSION}
MAINTAINER= petef@databits.net
+IS_INTERACTIVE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-ipv6
@@ -24,4 +26,11 @@ PLIST_SUB+= SCROLLZ_VER="${PORTVERSION}"
post-patch:
@${PERL} -pi -e 's!^IRCLIB =!IRCLIB ?=!' ${WRKSRC}/Makefile.in
+pre-build:
+.if !defined(BATCH)
+ @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} -o SZdist \
+ SZdist.c)
+ @(cd $(WRKSRC); ./SZdist)
+.endif
+
.include <bsd.port.mk>