aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libcsv/Makefile
blob: 09d1bfb426e3b6a7e92c7a2a2e98e69c03a35dac (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
38
39
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=   libcsv
PORTVERSION=    3.0.3
CATEGORIES= textproc
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Small, simple and fast CSV library

LICENSE=    LGPL21

OPTIONS_DEFINE= PROFILE

MAKEFILE=   Makefile.lib
USE_LDCONFIG=   yes

PLIST_SUB=  SHLIB_MAJOR="${SHLIB_MAJOR}"

SHLIB_MAJOR=    3

MANCOMPRESSED=  maybe
MAN3=       csv.3

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MPROFILE}
PLIST_SUB+= PROFILE=""
.else
MAKE_ENV+=  NO_PROFILE=true
PLIST_SUB+= PROFILE="@comment "
.endif

do-configure:
    @${SED} -e 's|%%SHLIB_MAJOR%%|${SHLIB_MAJOR}|' \
        < ${FILESDIR}/Makefile > ${WRKSRC}/${MAKEFILE}

.include <bsd.port.mk>