aboutsummaryrefslogtreecommitdiff
path: root/net/bbsnet
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-05 23:11:43 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-05 23:11:43 +0000
commit261b278d90f0f680d1cae2b44e765007a34d3ca0 (patch)
treee1abc9c9dc0f5358ca10131c4db19ecf84b792e5 /net/bbsnet
parent6a7dedd842615ce6f00b904ca4cad34e13428b65 (diff)
downloadports-261b278d90f0f680d1cae2b44e765007a34d3ca0.tar.gz
ports-261b278d90f0f680d1cae2b44e765007a34d3ca0.zip
Notes
Diffstat (limited to 'net/bbsnet')
-rw-r--r--net/bbsnet/Makefile11
-rw-r--r--net/bbsnet/distinfo2
-rw-r--r--net/bbsnet/files/patch-Makefile29
-rw-r--r--net/bbsnet/pkg-plist2
4 files changed, 40 insertions, 4 deletions
diff --git a/net/bbsnet/Makefile b/net/bbsnet/Makefile
index adf2d5650433..80e60cb17524 100644
--- a/net/bbsnet/Makefile
+++ b/net/bbsnet/Makefile
@@ -6,13 +6,20 @@
#
PORTNAME= bbsnet
-PORTVERSION= 2.7
+PORTVERSION= 2.8
CATEGORIES= net
MASTER_SITES= http://linux.ee.tku.edu.tw/~kids/resource/ \
- http://freebsd.sinica.edu.tw/~statue/
+ ftp://freebsd.sinica.edu.tw/pub/statue/bbsnet/
MAINTAINER= statue@freebsd.sinica.edu.tw
WRKSRC= ${WRKDIR}/bbsnet
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/bbsnet ${PREFIX}/bin
+ @${MKDIR} ${PREFIX}/etc/${PORTNAME}
+.for data in bbsdata Help Welcome
+ @${INSTALL_DATA} ${WRKSRC}/${data} ${PREFIX}/etc/${PORTNAME}
+.endfor
+
.include <bsd.port.mk>
diff --git a/net/bbsnet/distinfo b/net/bbsnet/distinfo
index a9d2bc3cb19f..056fa09732bd 100644
--- a/net/bbsnet/distinfo
+++ b/net/bbsnet/distinfo
@@ -1 +1 @@
-MD5 (bbsnet-2.7.tar.gz) = 0c0bee1f3cd538b9c00c6db02714e6c7
+MD5 (bbsnet-2.8.tar.gz) = 6b9e5a57394a8f8ac689ae2d8417ffc1
diff --git a/net/bbsnet/files/patch-Makefile b/net/bbsnet/files/patch-Makefile
new file mode 100644
index 000000000000..161da64d626c
--- /dev/null
+++ b/net/bbsnet/files/patch-Makefile
@@ -0,0 +1,29 @@
+--- Makefile.orig Sat Jan 5 07:07:48 2002
++++ Makefile Sat Jan 5 07:08:24 2002
+@@ -1,7 +1,6 @@
+ #
+ # Auther: HYD, 1995 summer vacation wrote, 1997 modified
+ #
+-CC = gcc
+ #
+ ###############################################
+ #
+@@ -21,8 +20,8 @@
+ ###############################################
+ #
+ #FreeBSD
+-#OS = -DBSD
+-# LIBS = -DLOG -DSYSVIPC
++OS = -DBSD
++LIBS = -DLOG -DSYSVIPC
+ #
+ ###############################################
+ #
+@@ -37,7 +36,6 @@
+ #
+ ###############################################
+
+-CFLAGS = -O2 -s -Wall
+ PROGRAM = bbsnet twbbs2data
+
+ # For Private
diff --git a/net/bbsnet/pkg-plist b/net/bbsnet/pkg-plist
index aba5dad25ede..5661e03a6db4 100644
--- a/net/bbsnet/pkg-plist
+++ b/net/bbsnet/pkg-plist
@@ -2,4 +2,4 @@ bin/bbsnet
etc/bbsnet/Help
etc/bbsnet/Welcome
etc/bbsnet/bbsdata
-@dirrm etc/bbsnet/
+@dirrm etc/bbsnet