aboutsummaryrefslogtreecommitdiffstats
path: root/net/libconnect/Makefile
blob: 12e667d739545d4a3bfebdef958fe1ca73f5b39c (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
32
33
34
35
36
37
# Ports collection makefile for:  libconnect
# Date created:                   Sat Mar 29 2003
# Whom:                           Alex Semenyaka <alexs@snark.ratmir.ru>
#
# $FreeBSD$
#

PORTNAME=   libconnect
PORTVERSION=    1.0
CATEGORIES= net
MASTER_SITES=   ftp://ftp.lexa.ru/pub/domestic/snar/    \
        ftp://ftp.lucky.net/pub/unix/local/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Tell programs to which IP-address they should bind

DEPRECATED= No more public distfiles
EXPIRATION_DATE=    2012-10-20

.if defined(NOPROFILE)
PLIST_SUB+= NOPROFILE="@comment "
.else
PLIST_SUB+= NOPROFILE=""
.endif

do-install:
    -@${MKDIR} ${PREFIX}/lib
    @${INSTALL_PROGRAM} ${WRKSRC}/libconnect.a ${PREFIX}/lib
.if !defined(NOPROFILE)
    @${INSTALL_PROGRAM} ${WRKSRC}/libconnect_p.a ${PREFIX}/lib
.endif
    @${INSTALL_PROGRAM} ${WRKSRC}/libconnect.so.1 ${PREFIX}/lib
    @${LN} -fs libconnect.so.1 ${PREFIX}/lib/libconnect.so
    -@${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/readme ${DOCSDIR}

.include <bsd.port.mk>