aboutsummaryrefslogtreecommitdiffstats
path: root/net/libsocket++/Makefile
blob: 476d5473eb8e45c3d132990e5740a6bfbd1d2019 (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
# Ports collection makefile for:  libsocket++
# Date created:           Sun Jan 19, 1997
# Whom:               Narvi <narvi@haldjas.folklore.ee>
#                 David O'Brien (obrien@FreeBSD.org)
#
# $FreeBSD$
#

PORTNAME=   libsocket++
PORTVERSION=    1.12.12
PORTREVISION=   2
CATEGORIES= net
MASTER_SITES=   http://src.linuxhacker.at/socket++/
DISTNAME=   socket++-${PORTVERSION}

MAINTAINER= arved@FreeBSD.org
COMMENT=    A C++ wrapper library to the sockets

GNU_CONFIGURE=  yes
INSTALLS_SHLIB= yes
USE_AUTOTOOLS=  automake:19 autoconf:261 libtool:15
SCRIPTS_ENV+=   ACLOCAL_FLAGS="-I ${LOCALBASE}/share/aclocal/"

INFO=   socket++

pre-configure:
    @(cd ${WRKSRC}; ${SETENV} ${SCRIPTS_ENV} ${SH} ./autogen)

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/libsocket++
    ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/libsocket++
.endif

.include <bsd.port.mk>