diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-26 16:39:14 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-26 16:39:14 +0000 |
commit | bc62127a69294fd3340ea793685953d98ff835dc (patch) | |
tree | d124c4d6f965d5152806ebfbf40e1b5a25860ddb /emulators/visualboyadvance-m | |
parent | e8dd5f52410bdf2a989023706699373d47296008 (diff) |
Convert from USE_GETTEXT to USES= gettext
While here:
- Trim some headers
- Convert to new options framework
Notes
Notes:
svn path=/head/; revision=316624
Diffstat (limited to 'emulators/visualboyadvance-m')
-rw-r--r-- | emulators/visualboyadvance-m/Makefile | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/emulators/visualboyadvance-m/Makefile b/emulators/visualboyadvance-m/Makefile index 051b43c1f09c..829b3c152b50 100644 --- a/emulators/visualboyadvance-m/Makefile +++ b/emulators/visualboyadvance-m/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: visualboyadvance-m -# Date created: 2010-01-02 -# Whom: Nicole Reid <root@cooltrainer.org> -# +# Created by: Nicole Reid <root@cooltrainer.org> # $FreeBSD$ -# PORTNAME= visualboyadvance-m PORTVERSION= 1.8.0r${SVN_REV} @@ -18,8 +14,10 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ cairomm-1.0.1:${PORTSDIR}/graphics/cairomm \ sfml-system.1:${PORTSDIR}/devel/sfml -OPTIONS= GVBAM "Build gvbam (GTK2 frontend)" on \ - ASM "Enable ASM core and filters (i386 only)" off +OPTIONS_DEFINE= GVBAM NLS +OPTIONS_DEFAULT= GVBAM +OPTIONS_DEFINE_i386= ASM +GVBAM_DESC= Build gvbam (GTK2 frontend) USE_BZIP2= yes WANT_GNOME= yes @@ -32,14 +30,14 @@ USES= cmake CMAKE_ARGS+= -DVERSION:STRING="${PORTVERSION}" -DSYSCONFDIR:STRING="${PREFIX}/etc" SVN_REV= 1001 -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_ASM) && ${ARCH} == "i386" +.if ${PORT_OPTIONS:MASM} BUILD_DEPENDS+= as:${PORTSDIR}/devel/binutils CMAKE_ARGS+= -DENABLE_ASM_CORE:BOOL=yes -DENABLE_ASM_SCALERS:BOOL=yes .endif -.if defined(WITH_GVBAM) +.if ${PORT_OPTIONS:MGVBAM} PLIST_SUB+= GVBAM="" USE_GNOME= gtk20 LIB_DEPENDS+= gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \ @@ -52,8 +50,8 @@ PLIST_SUB+= GVBAM="@comment " CMAKE_ARGS+= -DENABLE_GTK:BOOL=no .endif -.if !defined(WITHOUT_NLS) -USE_GETTEXT= yes +.if ${PORT_OPTIONS:MNLS} +USES+= gettext CMAKE_ARGS+= -DENABLE_NLS:BOOL=yes PLIST_SUB+= NLS="" .else @@ -80,4 +78,4 @@ maint-gen-distfile: ${TAR} jcf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${DISTNAME} ${RM} -rf ${DISTNAME} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |