aboutsummaryrefslogtreecommitdiffstats
path: root/databases/recutils/Makefile
blob: af8934ccd6aefebac2eb849d246d86aec1166504 (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
40
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$

PORTNAME=   recutils
PORTVERSION=    1.5
CATEGORIES= databases
MASTER_SITES=   GNU

MAINTAINER= zeus@ibs.dn.ua
COMMENT=    Tools and libraries to access human-editable, plain text databases

LICENSE=    GPLv3

OPTIONS_DEFINE= NLS DOCS

GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

INFO=       ${PORTNAME}
MAN1=       csv2rec.1 rec2csv.1 recdel.1 recfix.1 recfmt.1 recinf.1 \
        recins.1 recsel.1 recset.1
PORTDOCS=   ChangeLog NEWS README

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=      gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+= NLS="@comment "
.endif

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif

.include <bsd.port.mk>