diff options
author | pawel <pawel@FreeBSD.org> | 2013-03-28 02:43:08 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2013-03-28 02:43:08 +0800 |
commit | 7dd95e98c499789d755314b6309b4ef819a71c32 (patch) | |
tree | e42c84f33074c8675c434993de98a56e0a7fa0f8 /games/angband/Makefile | |
parent | 2979265090d19e239d96659935588dca44c751ae (diff) | |
download | freebsd-ports-gnome-7dd95e98c499789d755314b6309b4ef819a71c32.tar.gz freebsd-ports-gnome-7dd95e98c499789d755314b6309b4ef819a71c32.tar.zst freebsd-ports-gnome-7dd95e98c499789d755314b6309b4ef819a71c32.zip |
- Update to version 3.4.1
- Convert to OptionsNG
PR: ports/176701
Submitted by: Vitaly Magerya <vmagerya@gmail.com>
Approved by: maintainer timeout
Diffstat (limited to 'games/angband/Makefile')
-rw-r--r-- | games/angband/Makefile | 36 |
1 files changed, 16 insertions, 20 deletions
diff --git a/games/angband/Makefile b/games/angband/Makefile index 7adef69cc6cc..2deed5ed7392 100644 --- a/games/angband/Makefile +++ b/games/angband/Makefile @@ -1,14 +1,10 @@ -# New ports collection makefile for: angband -# Date created: 21 Feb 1997 -# Whom: Matthew Hunt <mph@pobox.com> -# +# Created by: Matthew Hunt <mph@pobox.com> # $FreeBSD$ -# PORTNAME= angband -PORTVERSION= 3.3.2 +PORTVERSION= 3.4.1 CATEGORIES= games -MASTER_SITES= http://rephial.org/downloads/3.3/ +MASTER_SITES= http://rephial.org/downloads/${PORTVERSION:R}/ DISTNAME= ${PORTNAME}-v${PORTVERSION} MAINTAINER= pav@FreeBSD.org @@ -17,21 +13,21 @@ COMMENT= Rogue-like game with color, X11 support USE_GMAKE= yes ALL_TARGET= # GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-setgid=games --disable-sdl --disable-sdl-mixer --with-varpath=/var/games/angband -.if !defined(WITHOUT_X11) -USE_XORG= sm x11 -CONFIGURE_ARGS+= --with-x -.else -CONFIGURE_ARGS+= --with-x=no -.endif -CONFIGURE_ENV= ac_cv_path_mkdir=mkdir -CPP= cc -E +CONFIGURE_ARGS= --with-setgid=games --localstatedir=/var +LDFLAGS+= -lncursesw + +OPTIONS_DEFINE= X11 +X11_DESC= Enable X11 (graphical) backend -pre-fetch: -.if !defined(WITHOUT_X11) - @${ECHO_MSG} "You could define WITHOUT_X11, if you don't want X support" +OPTIONS_DEFAULT=X11 + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MX11} +USE_XORG= sm x11 +RUN_DEPENDS= xorg-fonts-miscbitmaps>=0:${PORTSDIR}/x11-fonts/xorg-fonts-miscbitmaps .else - @${ECHO_MSG} "Building without X support" +CONFIGURE_ARGS+=--disable-x11 .endif post-patch: |