diff options
author | bapt <bapt@FreeBSD.org> | 2013-03-26 17:58:33 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-03-26 17:58:33 +0800 |
commit | 512b099b0e8162a661f66142e440e6deda9c754f (patch) | |
tree | 0703b05c980a1a962f207fe4415499f2f3f22ae8 /ftp/axel | |
parent | 399e8c4c349f1b9f4bacd9c9976acd8b96fe1bce (diff) | |
download | freebsd-ports-gnome-512b099b0e8162a661f66142e440e6deda9c754f.tar.gz freebsd-ports-gnome-512b099b0e8162a661f66142e440e6deda9c754f.tar.zst freebsd-ports-gnome-512b099b0e8162a661f66142e440e6deda9c754f.zip |
Convert left unconverted ports in ftp to new options framework
Diffstat (limited to 'ftp/axel')
-rw-r--r-- | ftp/axel/Makefile | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/ftp/axel/Makefile b/ftp/axel/Makefile index 73867c22f02f..ee3300825d59 100644 --- a/ftp/axel/Makefile +++ b/ftp/axel/Makefile @@ -1,10 +1,5 @@ -# ex:ts=8 -# New ports collection makefile for: axel -# Date created: Jul 23, 2001 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= axel PORTVERSION= 2.4 @@ -21,12 +16,11 @@ USE_GMAKE= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${MANPREFIX}/man -OPTIONS= NLS "I18N support" on \ - DEBUG "Debugging support" off +OPTIONS_DEFINE= NLS DEBUG -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes USE_ICONV= yes PLIST_SUB+= NLS="" @@ -36,7 +30,7 @@ PLIST_SUB+= NLS="@comment " CONFIGURE_ARGS+=--i18n=0 .endif -.if defined(WITH_DEBUG) +.if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--debug=1 --strip=0 .endif @@ -47,4 +41,4 @@ post-configure: @${REINPLACE_CMD} -e 's|gcc|${CC}|; \ s|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.settings -.include <bsd.port.post.mk> +.include <bsd.port.mk> |