aboutsummaryrefslogtreecommitdiff
path: root/net/tn5250/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-12-19 08:07:57 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-12-19 08:07:57 +0000
commit90f5154594d88330222ffd5023abae310802f274 (patch)
tree0976ee2e5943313a90358f3c298dc545326bb0a8 /net/tn5250/Makefile
parent49c5f93f606631d11f2294514979734a9459a91b (diff)
Notes
Diffstat (limited to 'net/tn5250/Makefile')
-rw-r--r--net/tn5250/Makefile22
1 files changed, 20 insertions, 2 deletions
diff --git a/net/tn5250/Makefile b/net/tn5250/Makefile
index 0ec083e664af..db2ec77229e4 100644
--- a/net/tn5250/Makefile
+++ b/net/tn5250/Makefile
@@ -6,15 +6,33 @@
#
PORTNAME= tn5250
-PORTVERSION= 0.15.8
+PORTVERSION= 0.16.0
CATEGORIES= net
-MASTER_SITES= ftp://cvs.cleveland.lug.net/pub/tn5250/
+MASTER_SITES= http://cvs.cleveland.lug.net/downloads/tn5250/
MAINTAINER= ports@FreeBSD.org
+USE_AUTOMAKE= yes
+AUTOMAKE_ARGS= --include-deps
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
MAN1= scs2ascii.1 scs2pdf.1 tn5250.1 lp5250d.1
+.if defined(WITH_SLANG)
+LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
+PKGNAMESUFFIX= -slang
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS+= --with-slang
+.endif
+
+.if !defined(WITH_SLANG)
+pre-everything:
+ @${ECHO_MSG}
+ @${ECHO_MSG} "If you want to compile with S/Lang support,"
+ @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_SLANG=yes\""
+ @${ECHO_MSG}
+.endif
+
.include <bsd.port.mk>