aboutsummaryrefslogtreecommitdiff
path: root/net/unix2tcp
diff options
context:
space:
mode:
authorMichael Landin <mich@FreeBSD.org>2003-12-22 15:38:55 +0000
committerMichael Landin <mich@FreeBSD.org>2003-12-22 15:38:55 +0000
commit6f67899da579d2a3c7724ac69d21df6ac3909111 (patch)
tree1347cd39bec2c45fe276b1f1f79309d15d1c74b8 /net/unix2tcp
parent0af58e872570afe3007395d19419fc422f6cd94f (diff)
downloadports-6f67899da579d2a3c7724ac69d21df6ac3909111.tar.gz
ports-6f67899da579d2a3c7724ac69d21df6ac3909111.zip
Notes
Diffstat (limited to 'net/unix2tcp')
-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%%