diff options
Diffstat (limited to '')
-rw-r--r-- | devel/thunar-vcs-plugin/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/devel/thunar-vcs-plugin/Makefile b/devel/thunar-vcs-plugin/Makefile index 74ddd2e50155..1eda5677b427 100644 --- a/devel/thunar-vcs-plugin/Makefile +++ b/devel/thunar-vcs-plugin/Makefile @@ -23,14 +23,14 @@ USES= pkgconfig LDFLAGS+= -L${LOCALBASE}/lib -OPTIONS= NLS "Enable Native Language Support" on \ - GIT "Enable Git support" off \ - SVN "Enable Subversion support" on +OPTIONS_DEFINE= NLS GIT SVN +OPTIONS_DEFAULT= SVN +GIT_DESC= Git support -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_NLS) -USE_GETTEXT= yes +.if ${PORT_OPTIONS:MNLS} +USES+= gettext CONFIGURE_ARGS+=--enable-nls PLIST_SUB+= NLS="" .else @@ -38,7 +38,7 @@ CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif -.if defined(WITH_GIT) +.if ${PORT_OPTIONS:MGIT} RUN_DEPENDS+= git:${PORTSDIR}/devel/git CONFIGURE_ARGS+=--enable-git PLIST_SUB+= GIT="" @@ -47,7 +47,7 @@ CONFIGURE_ARGS+=--disable-git PLIST_SUB+= GIT="@comment " .endif -.if !defined(WITHOUT_SVN) +.if ${PORT_OPTIONS:MSVN} LIB_DEPENDS+= svn_client-1:${PORTSDIR}/devel/subversion CONFIGURE_ARGS+=--enable-subversion PLIST_SUB+= SVN="" @@ -59,4 +59,4 @@ PLIST_SUB+= SVN="@comment " post-install: @-update-desktop-database -.include <bsd.port.post.mk> +.include <bsd.port.mk> |