aboutsummaryrefslogtreecommitdiffstats
path: root/net/spnetkit/Makefile
blob: e446ae8be22cf2e15e10eeb9c825ac5e0e1c4019 (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=   http://spnetkit.googlecode.com/files/
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>