aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix2tcp/Makefile
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/unix2tcp/Makefile
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/unix2tcp/Makefile')
-rw-r--r--net/unix2tcp/Makefile14
1 files changed, 10 insertions, 4 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