svn commit: r395493 - in head: devel/android-tools-fastboot devel/renpy emulators/ppsspp
Jan Beich
jbeich at FreeBSD.org
Fri Aug 28 14:57:30 UTC 2015
Author: jbeich
Date: Fri Aug 28 14:57:29 2015
New Revision: 395493
URL: https://svnweb.freebsd.org/changeset/ports/395493
Log:
Convert my ports to _VARS option helper
Modified:
head/devel/android-tools-fastboot/Makefile (contents, props changed)
head/devel/renpy/Makefile (contents, props changed)
head/emulators/ppsspp/Makefile (contents, props changed)
Modified: head/devel/android-tools-fastboot/Makefile
==============================================================================
--- head/devel/android-tools-fastboot/Makefile Fri Aug 28 14:54:19 2015 (r395492)
+++ head/devel/android-tools-fastboot/Makefile Fri Aug 28 14:57:29 2015 (r395493)
@@ -46,11 +46,7 @@ SUB_FILES= pkg-message
OPTIONS_DEFINE= BASH DOCS
OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MBASH}
-LICENSE+= MIT # debian/copyright
-.endif
+BASH_VARS= LICENSE+=MIT # debian/copyright
post-extract:
@${CP} ${_DISTDIR}/${DISTFILES:M*\:manpage:C/:.*//} \
Modified: head/devel/renpy/Makefile
==============================================================================
--- head/devel/renpy/Makefile Fri Aug 28 14:54:19 2015 (r395492)
+++ head/devel/renpy/Makefile Fri Aug 28 14:57:29 2015 (r395493)
@@ -53,25 +53,18 @@ OPTIONS_DEFAULT=TKINTER DIST
OPTIONS_DEFINE= DOCS DIST EXAMPLES TKINTER
DIST_DESC= Distribution runtimes for Windows, OS X, Linux
+DIST_VARS= LICENSE+="ART20 PSFL" \
+ PORTDATA+="lib renpy.app renpy.exe renpy.sh"
+EXAMPLES_VARS= PORTDATA+="the_question tutorial"
TKINTER_DESC= Install Tkinter to allow choosing Projects Directory
TKINTER_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDIST}
-LICENSE+= ART20 PSFL
-PORTDATA+= lib renpy.app renpy.exe renpy.sh
. for lic in FREETYPE LIBJPEG LIBPNG MSVCR90
-LICENSE+= ${lic}
+DIST_VARS+= LICENSE+=${lic}
LICENSE_NAME_${lic}= ${lic} license
LICENSE_FILE_${lic}= ${WRKSRC}/LICENSE.txt
LICENSE_PERMS_${lic}= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
. endfor
-.endif
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-PORTDATA+= the_question tutorial
-.endif
post-patch:
@${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \
Modified: head/emulators/ppsspp/Makefile
==============================================================================
--- head/emulators/ppsspp/Makefile Fri Aug 28 14:54:19 2015 (r395492)
+++ head/emulators/ppsspp/Makefile Fri Aug 28 14:57:29 2015 (r395493)
@@ -46,12 +46,7 @@ SDL_USES= cmake:outsource ninja
SDL_BUILD_DEPENDS= png>=1.6:${PORTSDIR}/graphics/png
SDL_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
SDL_LDFLAGS= -L${LOCALBASE}/lib # ffmpeg
-
-.include <bsd.port.options.mk>
-
-.if ! ${PORT_OPTIONS:MQT*}
-PORTDATA+= assets ${PORTNAME}
-.endif
+SDL_VARS= PORTDATA+="assets ${PORTNAME}"
post-extract:
# Convert USE_GITHUB groups to git-submodule(1) paths
More information about the svn-ports-head
mailing list