aboutsummaryrefslogtreecommitdiffstats
path: root/net/spnetkit/Makefile
blob: 172752f85c7d47401e4d914aff9e6c0135674a3a (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
# New ports collection makefile for:    spnetkit
# Date created:             18 Feb 2008
# Whom:                 vanilla@
#
# $FreeBSD$
#

PORTNAME=   spnetkit
PORTVERSION=    0.2.0
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}
DISTNAME=   ${PORTNAME}-${PORTVERSION}.src

MAINTAINER= vanilla@FreeBSD.org
COMMENT=    A C++ wrapper for BSD-style sockets

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}/spnetkit
USE_LDCONFIG=   yes
USE_GMAKE=  yes
ALL_TARGET= all ssl

do-install:
    @${MKDIR} ${PREFIX}/include/spnetkit
    @${INSTALL} ${WRKSRC}/*.hpp ${PREFIX}/include/spnetkit
    @${INSTALL} ${WRKSRC}/libspnetkit.so.0 ${PREFIX}/lib
    @${LN} -s ${PREFIX}/lib/libspnetkit.so.0 ${PREFIX}/lib/libspnetkit.so
    @${INSTALL} ${WRKSRC}/libspnetkit_s.so.0 ${PREFIX}/lib
    @${LN} -s ${PREFIX}/lib/libspnetkit_s.so.0 ${PREFIX}/lib/libspnetkit_s.so

.include <bsd.port.mk>