1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/devel/rsvndump/Makefile
Baptiste Daroussin 062ed8d36f Convert from WITHOUT_NLS to PORT_OPTIONS:MNLS
While here do some conversion to new options framework
2013-05-06 10:22:41 +00:00

40 lines
844 B
Makefile

# Created by: glarkin
# $FreeBSD$
PORTNAME= rsvndump
PORTVERSION= 0.5.8
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= glarkin@FreeBSD.org
COMMENT= Remote Subversion repository dumpfile generator
GNU_CONFIGURE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_FILES+= share/locale/de/LC_MESSAGES/rsvndump.mo
.else
CONFIGURE_ARGS+= --disable-nls
.endif
CONFIGURE_ARGS+= --enable-man \
--with-svn=${LOCALBASE}
.if ${PORT_OPTIONS:MDOCS}
MAN1= rsvndump.1
.endif
PLIST_FILES+= bin/rsvndump
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= asciidoc:${PORTSDIR}/textproc/asciidoc \
xmlto:${PORTSDIR}/textproc/xmlto
CONFIGURE_ARGS+=--enable-man
.else
CONFIGURE_ARGS+=--disable-man
.endif
BUILD_DEPENDS+= svn:${PORTSDIR}/devel/subversion
.include <bsd.port.mk>