aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libs11n/Makefile
blob: e87987f961559e0ff14c55093497962edc3f8d3b (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
# Created by: aaron@FreeBSD.org
# $FreeBSD$

PORTNAME=   libs11n
PORTVERSION=    1.2.10
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   SF/s11n/s11n/${PORTVERSION}/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-nobuildfiles

MAINTAINER= ports@FreeBSD.org
COMMENT=    C++ library for easily serializing a wide variety of objects

USES=       uidfix zip
WRKSRC=     ${WRKDIR}/${DISTNAME}/src
USE_LDCONFIG=   yes

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

post-extract:
    @${CP} ${PATCHDIR}/Makefile.bsd ${WRKSRC}/Makefile

pre-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net
    ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n
    ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n/io
    ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n/nodeutil
    ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n/plugin
    ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n/proxy
    ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n/proxy/pod
    ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n/proxy/std

.include <bsd.port.mk>