aboutsummaryrefslogtreecommitdiffstats
path: root/irc/scrollz/Makefile
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-07-08 23:31:51 +0800
committerdwcjr <dwcjr@FreeBSD.org>2001-07-08 23:31:51 +0800
commit447b98c8a623d390dfd0a19196affb92c86c63e2 (patch)
tree85a30b689c10eca581a242330e033852171af7f9 /irc/scrollz/Makefile
parent0bb62db7c9e83128130b0f9795ea66f58abbf6c9 (diff)
downloadfreebsd-ports-gnome-447b98c8a623d390dfd0a19196affb92c86c63e2.tar.gz
freebsd-ports-gnome-447b98c8a623d390dfd0a19196affb92c86c63e2.tar.zst
freebsd-ports-gnome-447b98c8a623d390dfd0a19196affb92c86c63e2.zip
Fix build for packages
PR: 28816 Submitted by: maintainer
Diffstat (limited to 'irc/scrollz/Makefile')
-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>