aboutsummaryrefslogtreecommitdiff
path: root/net/binkd
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2000-04-01 01:39:43 +0000
committerMichael Haro <mharo@FreeBSD.org>2000-04-01 01:39:43 +0000
commita06e397d2251970a3e8c3cdcab0f8cd3bb49eaf5 (patch)
tree9b4bf647195248a3e5bb8462a191277464e745f0 /net/binkd
parentbe2bcf2f1ba179b5a3cb8eca9000418f8aa876fe (diff)
downloadports-a06e397d2251970a3e8c3cdcab0f8cd3bb49eaf5.tar.gz
ports-a06e397d2251970a3e8c3cdcab0f8cd3bb49eaf5.zip
change distfile name
Add patch for using system CFLAGS. Add support for amiga style outbound. PR: 17576 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=27215
Diffstat (limited to 'net/binkd')
-rw-r--r--net/binkd/Makefile32
-rw-r--r--net/binkd/distinfo2
-rw-r--r--net/binkd/files/patch-aa13
3 files changed, 31 insertions, 16 deletions
diff --git a/net/binkd/Makefile b/net/binkd/Makefile
index e7ebb3c89284..7f81977dcb5b 100644
--- a/net/binkd/Makefile
+++ b/net/binkd/Makefile
@@ -1,26 +1,28 @@
# New ports collection makefile for: binkd
-# Version required: 0.9.2
-# Date created: 19 August 1998
-# Whom: Andrey Zakhvatov
+# Version required: 0.9.2
+# Date created: 19 August 1998
+# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
-DISTNAME= binkd092
-PKGNAME= binkd-0.9.2
-CATEGORIES= net
-MASTER_SITES= ftp://ftp.sut.ru/pub/FidoNet/BinkD/092/ \
- ftp://ftp.aanet.ru/pub/Linux/system/Fido/ \
- http://www.corbina.net/~maloff/binkd/
+DISTNAME= binkd-0.9.2
+CATEGORIES= net
+MASTER_SITES= http://www.corbina.net/~maloff/binkd/
-MAINTAINER= dsh@vlink.ru
+MAINTAINER= dsh@vlink.ru
-WRKSRC= ${WRKDIR}/${PKGNAME}
-USE_ZIP= yes
-GNU_CONFIGURE= yes
-MAN8= binkd.8
+USE_ZIP= yes
+GNU_CONFIGURE= yes
+MAN8= binkd.8
-post-extract:
+.if defined(WITH_AMIGA4D)
+EXTRA_PATCHES+= ${FILESDIR}/patch-amiga4d
+DEFINES+= -DAMIGADOS_4D_OUTBOUND
+MAKE_ENV+= DEFINES="${DEFINES}"
+.endif
+
+pre-configure:
@ ${CP} ${WRKSRC}/mkfls/unix/* ${WRKSRC}
@ ${CHMOD} a+x ${WRKSRC}/configure
diff --git a/net/binkd/distinfo b/net/binkd/distinfo
index 03d6e30e976f..9e7caba9bead 100644
--- a/net/binkd/distinfo
+++ b/net/binkd/distinfo
@@ -1 +1 @@
-MD5 (binkd092.zip) = 4292d491069b19d590e137d5dd258cbb
+MD5 (binkd-0.9.2.zip) = 4292d491069b19d590e137d5dd258cbb
diff --git a/net/binkd/files/patch-aa b/net/binkd/files/patch-aa
new file mode 100644
index 000000000000..073b8639bef2
--- /dev/null
+++ b/net/binkd/files/patch-aa
@@ -0,0 +1,13 @@
+--- mkfls/unix/Makefile.in.orig Wed Nov 5 02:57:41 1997
++++ mkfls/unix/Makefile.in Wed Mar 8 21:03:18 2000
+@@ -5,8 +5,8 @@
+ OBJS=${SRCS:.c=.o}
+ AUTODEFS=@DEFS@
+ AUTOLIBS=@LIBS@
+-DEFINES=$(AUTODEFS) -DHAVE_FORK -DUNIX -DOS="\"UNIX\""
+-CFLAGS=$(DEFINES) -Wall
++DEFINES+=$(AUTODEFS) -DHAVE_FORK -DUNIX -DOS="\"UNIX\""
++CFLAGS+=$(DEFINES) -Wall
+ LIBS=$(AUTOLIBS)
+
+ all: binkd