freebsd-ports/databases/recutils/Makefile
Alexey Dokuchaev 95c7624b07 Install a few docs; omit port revision bump as this port was added for a
private request just couple of hours ago and thus probably not installed
in sufficient quantities to warrant it.

Feature safe:	yes
2012-11-01 13:43:27 +00:00

40 lines
786 B
Makefile

# 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}
USE_GETTEXT= yes
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>