aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix2tcp/Makefile
blob: e46f2fa4ba38654b423ddfb892a586397392565a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ex:ts=8
# Ports collection makefile for:  unix2tcp
# Date created:                Thu Jan 30, 2003
# Whom:                        Michael L. Hostbaek (mich@freebsdcluster.org)
#
# $FreeBSD$
#

PORTNAME=   unix2tcp
PORTVERSION=    0.7.2
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

do-build:
    cd ${WRKSRC} && \
    ${CC} -I. ${PORTNAME}.c -c &&\
    ${CC} -I. list.c -c && \
    ${CC} ${PORTNAME}.o list.o -o ${PORTNAME}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin

.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
.endif

.include <bsd.port.mk>