diff options
author | danfe <danfe@FreeBSD.org> | 2013-03-17 22:55:28 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2013-03-17 22:55:28 +0800 |
commit | 52ca1a574751bc2822af38cfb9825348e68fd398 (patch) | |
tree | 02f5a14a3d32218f4734d298ea72bfb34ad48543 /games | |
parent | 4f9819a0b93d6a2d21ab8c7289502b64cf1724e2 (diff) | |
download | freebsd-ports-gnome-52ca1a574751bc2822af38cfb9825348e68fd398.tar.gz freebsd-ports-gnome-52ca1a574751bc2822af38cfb9825348e68fd398.tar.zst freebsd-ports-gnome-52ca1a574751bc2822af38cfb9825348e68fd398.zip |
- Trim old-school Makefile header per new bylaws
- Convert to modern OPTIONS framework (courtesy of jgh@)
Diffstat (limited to 'games')
-rw-r--r-- | games/mvdsv/Makefile | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/games/mvdsv/Makefile b/games/mvdsv/Makefile index 16851a666ca6..31989c80881c 100644 --- a/games/mvdsv/Makefile +++ b/games/mvdsv/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: MVDSV (+ master port for qwdtools) -# Date created: 03 Jun 2003 -# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru> -# +# Created by: Alexey Dokuchaev <danfe@regency.nsu.ru> # $FreeBSD$ -# PORTNAME?= mvdsv PORTVERSION= 0.29 @@ -27,18 +23,25 @@ MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/${PORTNAME} -OPTIONS= X86_ASM "Compile with x86 assembly code" on +OPTIONS_DEFINE_i386= ASM +OPTIONS_DEFINE_amd64= ASM +OPTIONS_DEFAULT_i386= ASM +OPTIONS_DEFAULT_amd64= ASM + .if ${PORTNAME} == "mvdsv" -OPTIONS+= KQUEUE "Enable Kqueue support" on +OPTIONS_DEFINE+= KQUEUE +OPTIONS_DEFAULT+= KQUEUE .endif -.include <bsd.port.pre.mk> +KQUEUE_DESC= Kqueue support + +.include <bsd.port.options.mk> -.if defined(WITHOUT_KQUEUE) +.if ! ${PORT_OPTIONS:MKQUEUE} MAKE_ARGS+= -DNOKQUEUE .endif -.if defined(WITHOUT_X86_ASM) +.if ! ${PORT_OPTIONS:MASM} MAKE_ARGS+= -DWITHOUT_X86_ASM .endif @@ -53,4 +56,4 @@ post-install: @${ECHO_MSG} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |