2003-02-12 09:31:06 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: unix2tcp
|
|
|
|
# Date created: Thu Jan 30, 2003
|
|
|
|
# Whom: Michael L. Hostbaek (mich@freebsdcluster.org)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= unix2tcp
|
2004-06-24 14:49:42 +00:00
|
|
|
PORTVERSION= 0.8.2
|
2003-02-12 09:31:06 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://ahriman.bucharest.roedu.net/unix2tcp/
|
|
|
|
|
2003-05-07 11:37:56 +00:00
|
|
|
MAINTAINER= mich@FreeBSD.org
|
2003-02-12 09:31:06 +00:00
|
|
|
COMMENT= A connection forwarder that converts Unix sockets into TCP sockets
|
|
|
|
|
2003-12-22 15:38:55 +00:00
|
|
|
CFLAGS+= -DHAVE_CONFIG_H -I.
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2003-02-12 09:31:06 +00:00
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && \
|
2003-12-22 15:38:55 +00:00
|
|
|
${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
|
2003-02-12 09:31:06 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|