1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/devel/guichan/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

59 lines
1.2 KiB
Makefile

# New ports collection makefile for: guichan
# Date created: 2005-10-03
# Whom: Tobias Gion <freebsd@gionet.de>
#
# $FreeBSD$
#
PORTNAME= guichan
PORTVERSION= 0.8.1
PORTREVISION= 1
CATEGORIES= devel games
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= mva@FreeBSD.org
COMMENT= A small, efficient C++ GUI library designed for games
USE_AUTOTOOLS= libtool:22
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
OPTIONS= SDL "Enable SDL support" On \
ALLEGRO "Enable Allegro support" Off \
GL "Enable OpenGL support" On
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_SDL)
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 defined(WITH_ALLEGRO)
LIB_DEPENDS+= alleg.42:${PORTSDIR}/devel/allegro
CONFIGURE_ARGS+=--enable-allegro
PLIST_SUB+= ALLEGRO=""
.else
CONFIGURE_ARGS+=--disable-allegro
PLIST_SUB+= ALLEGRO="@comment "
.endif
.if !defined(WITHOUT_GL)
USE_GL= yes
CONFIGURE_ARGS+=--enable-opengl
PLIST_SUB+= GL=""
.else
CONFIGURE_ARGS+=--disable-opengl
PLIST_SUB+= GL="@comment "
.endif
.include <bsd.port.post.mk>