aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormich <mich@FreeBSD.org>2003-12-22 23:38:55 +0800
committermich <mich@FreeBSD.org>2003-12-22 23:38:55 +0800
commite3e869aba6d48241163842ced20c9cab08fb9cf6 (patch)
treee8baedebe5f39e68964552aa8458ca3e719aca97 /net
parent993568264873b6a73bfb9b06dc7db8587f76ef7c (diff)
downloadfreebsd-ports-gnome-e3e869aba6d48241163842ced20c9cab08fb9cf6.tar.gz
freebsd-ports-gnome-e3e869aba6d48241163842ced20c9cab08fb9cf6.tar.zst
freebsd-ports-gnome-e3e869aba6d48241163842ced20c9cab08fb9cf6.zip
o Update to 0.8.1
o Use %%DOCSDIR%%
Diffstat (limited to 'net')
-rw-r--r--net/unix2tcp/Makefile14
-rw-r--r--net/unix2tcp/distinfo2
-rw-r--r--net/unix2tcp/pkg-plist4
3 files changed, 13 insertions, 7 deletions
diff --git a/net/unix2tcp/Makefile b/net/unix2tcp/Makefile
index e46f2fa4ba38..2895c3322d4d 100644
--- a/net/unix2tcp/Makefile
+++ b/net/unix2tcp/Makefile
@@ -7,18 +7,24 @@
#
PORTNAME= unix2tcp
-PORTVERSION= 0.7.2
+PORTVERSION= 0.8.1
CATEGORIES= net
MASTER_SITES= http://ahriman.bucharest.roedu.net/unix2tcp/
MAINTAINER= mich@FreeBSD.org
COMMENT= A connection forwarder that converts Unix sockets into TCP sockets
+CFLAGS+= -DHAVE_CONFIG_H -I.
+GNU_CONFIGURE= yes
+
do-build:
cd ${WRKSRC} && \
- ${CC} -I. ${PORTNAME}.c -c &&\
- ${CC} -I. list.c -c && \
- ${CC} ${PORTNAME}.o list.o -o ${PORTNAME}
+ ${CC} ${CFLAGS} -c ${PORTNAME}.c -o ${PORTNAME}.o &&\
+ ${CC} ${CFLAGS} -c server.c -o server.o &&\
+ ${CC} ${CFLAGS} -c mylog.c -o mylog.o &&\
+ ${CC} ${CFLAGS} -c list.c -o list.o &&\
+ ${CC} ${PORTNAME}.o server.o mylog.o list.o -o ${PORTNAME} && \
+ ${CC} ${CFLAGS} -c utelnet.c -o utelnet.o
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
diff --git a/net/unix2tcp/distinfo b/net/unix2tcp/distinfo
index a8714d4054a0..87741ffc86e2 100644
--- a/net/unix2tcp/distinfo
+++ b/net/unix2tcp/distinfo
@@ -1 +1 @@
-MD5 (unix2tcp-0.7.2.tar.gz) = d0d08bdb9e6059866e6886c8588640e6
+MD5 (unix2tcp-0.8.1.tar.gz) = 2b1a5ba195f410dfb4864fe7fcb31235
diff --git a/net/unix2tcp/pkg-plist b/net/unix2tcp/pkg-plist
index 5dd82a106dcc..05f12eb623c6 100644
--- a/net/unix2tcp/pkg-plist
+++ b/net/unix2tcp/pkg-plist
@@ -1,3 +1,3 @@
sbin/unix2tcp
-%%PORTDOCS%%share/doc/unix2tcp/README
-%%PORTDOCS%%@dirrm /share/doc/unix2tcp
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%