1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net/unix2tcp/Makefile
Jimmy Olgeni 7dc406a7a1 Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category N.

CR:		D307
Approved by:	portmgr (bapt)
2014-07-10 12:13:11 +00:00

33 lines
929 B
Makefile

# Created by: Michael L. Hostbaek (mich@freebsdcluster.org)
# $FreeBSD$
PORTNAME= unix2tcp
PORTVERSION= 0.8.2
CATEGORIES= net
MASTER_SITES= http://freebsdcluster.org/~mich/software/ \
http://ahriman.bucharest.roedu.net/unix2tcp/
MAINTAINER= mich@FreeBSD.org
COMMENT= Connection forwarder that converts Unix sockets into TCP sockets
CFLAGS+= -DHAVE_CONFIG_H -I.
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS
do-build:
cd ${WRKSRC} && \
${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} ${STAGEDIR}${PREFIX}/sbin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README
.include <bsd.port.mk>