60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
55 lines
1.1 KiB
Makefile
55 lines
1.1 KiB
Makefile
# Created by: Tobias Gion <freebsd@gionet.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= guichan
|
|
PORTVERSION= 0.8.2
|
|
PORTREVISION= 10
|
|
CATEGORIES= devel games
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
MAINTAINER= mva@FreeBSD.org
|
|
COMMENT= Small, efficient C++ GUI library designed for games
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
USES= gmake pathfix libtool
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE= SDL ALLEGRO OPENGL
|
|
OPTIONS_DEFAULT= SDL OPENGL
|
|
ALLEGRO_DESC= Allegro support
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MSDL}
|
|
USE_SDL+= sdl image
|
|
CONFIGURE_ARGS+=--enable-sdl --enable-sdlimage
|
|
PLIST_SUB+= SDL=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-sdl --disable-sdlimage
|
|
PLIST_SUB+= SDL="@comment "
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MALLEGRO}
|
|
LIB_DEPENDS+= liballeg.so:${PORTSDIR}/devel/allegro
|
|
CONFIGURE_ARGS+=--enable-allegro
|
|
PLIST_SUB+= ALLEGRO=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-allegro
|
|
PLIST_SUB+= ALLEGRO="@comment "
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MOPENGL}
|
|
USE_GL= yes
|
|
CONFIGURE_ARGS+=--enable-opengl
|
|
PLIST_SUB+= GL=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-opengl
|
|
PLIST_SUB+= GL="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|