From 568fc421af6f8bab3eebd01a8dd1a3e23186881d Mon Sep 17 00:00:00 2001 From: mva Date: Fri, 26 Apr 2013 17:36:46 +0000 Subject: - Trim Makefile headers - Convert to new options framework --- devel/guichan/Makefile | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'devel/guichan') diff --git a/devel/guichan/Makefile b/devel/guichan/Makefile index 000be455f52d..194cb7e48cdd 100644 --- a/devel/guichan/Makefile +++ b/devel/guichan/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: guichan -# Date created: 2005-10-03 -# Whom: Tobias Gion -# +# Created by: Tobias Gion # $FreeBSD$ -# PORTNAME= guichan PORTVERSION= 0.8.2 @@ -12,7 +8,7 @@ CATEGORIES= devel games MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} MAINTAINER= mva@FreeBSD.org -COMMENT= A small, efficient C++ GUI library designed for games +COMMENT= Small, efficient C++ GUI library designed for games USE_AUTOTOOLS= libtool USE_GMAKE= yes @@ -23,13 +19,12 @@ USES= pathfix CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -OPTIONS= SDL "Enable SDL support" On \ - ALLEGRO "Enable Allegro support" Off \ - GL "Enable OpenGL support" On +OPTIONS_DEFINE= SDL ALLEGRO OPENGL +ALLEGRO_DESC= Allegro support -.include +.include -.if !defined(WITHOUT_SDL) +.if ${PORT_OPTIONS:MSDL} USE_SDL+= sdl image CONFIGURE_ARGS+=--enable-sdl --enable-sdlimage PLIST_SUB+= SDL="" @@ -38,7 +33,7 @@ CONFIGURE_ARGS+=--disable-sdl --disable-sdlimage PLIST_SUB+= SDL="@comment " .endif -.if defined(WITH_ALLEGRO) +.if ${PORT_OPTIONS:MALLEGRO} LIB_DEPENDS+= alleg.42:${PORTSDIR}/devel/allegro CONFIGURE_ARGS+=--enable-allegro PLIST_SUB+= ALLEGRO="" @@ -47,7 +42,7 @@ CONFIGURE_ARGS+=--disable-allegro PLIST_SUB+= ALLEGRO="@comment " .endif -.if !defined(WITHOUT_GL) +.if ${PORT_OPTIONS:MGL} USE_GL= yes CONFIGURE_ARGS+=--enable-opengl PLIST_SUB+= GL="" @@ -56,4 +51,4 @@ CONFIGURE_ARGS+=--disable-opengl PLIST_SUB+= GL="@comment " .endif -.include +.include -- cgit /files/lodash-4.17.19'>dependabot/npm_and_yarn/devel/electron4/files/lodash-4.17.19 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove libintl.so.9 compatibility link that was added in r374303 totijl2016-12-09