diff options
author | bapt <bapt@FreeBSD.org> | 2013-05-06 18:22:41 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-05-06 18:22:41 +0800 |
commit | 9448bf8a9893f033f4857b17e60990eaf05437f2 (patch) | |
tree | 35173dab2afafdac2c12b688bfc1f1397a7b8cfb /devel | |
parent | 3d353e31abfcd08740e73294d90f9ba291e25502 (diff) | |
download | freebsd-ports-gnome-9448bf8a9893f033f4857b17e60990eaf05437f2.tar.gz freebsd-ports-gnome-9448bf8a9893f033f4857b17e60990eaf05437f2.tar.zst freebsd-ports-gnome-9448bf8a9893f033f4857b17e60990eaf05437f2.zip |
Convert from WITHOUT_NLS to PORT_OPTIONS:MNLS
While here do some conversion to new options framework
Diffstat (limited to 'devel')
-rw-r--r-- | devel/rsvndump/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/devel/rsvndump/Makefile b/devel/rsvndump/Makefile index 719acedf578f..0a0c4ece736e 100644 --- a/devel/rsvndump/Makefile +++ b/devel/rsvndump/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: rsvndump -# Date created: 2008-10-12 -# Whom: glarkin -# +# Created by: glarkin # $FreeBSD$ -# PORTNAME= rsvndump PORTVERSION= 0.5.8 @@ -15,7 +11,9 @@ COMMENT= Remote Subversion repository dumpfile generator GNU_CONFIGURE= yes -.if !defined(WITHOUT_NLS) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_FILES+= share/locale/de/LC_MESSAGES/rsvndump.mo .else @@ -24,14 +22,12 @@ CONFIGURE_ARGS+= --disable-nls CONFIGURE_ARGS+= --enable-man \ --with-svn=${LOCALBASE} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} MAN1= rsvndump.1 .endif PLIST_FILES+= bin/rsvndump -.include <bsd.port.pre.mk> - -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS+= asciidoc:${PORTSDIR}/textproc/asciidoc \ xmlto:${PORTSDIR}/textproc/xmlto CONFIGURE_ARGS+=--enable-man @@ -40,4 +36,4 @@ CONFIGURE_ARGS+=--disable-man .endif BUILD_DEPENDS+= svn:${PORTSDIR}/devel/subversion -.include <bsd.port.post.mk> +.include <bsd.port.mk> |