2004-01-02 13:06:32 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2004/01/02 18:06:32 espie Exp $
|
2001-07-16 12:35:16 -04:00
|
|
|
|
|
|
|
COMMENT= "C++ wrapper for the Simple DirectMedia Layer"
|
|
|
|
|
2001-09-01 23:41:30 -04:00
|
|
|
VERSION= 0.1.8
|
2001-07-16 12:35:16 -04:00
|
|
|
DISTNAME= SDLmm-${VERSION}
|
|
|
|
PKGNAME= ${DISTNAME:L}
|
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://sdlmm.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-05-13 14:50:36 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sdlmm/}
|
2001-07-16 12:35:16 -04:00
|
|
|
|
2001-12-28 17:11:58 -05:00
|
|
|
LIB_DEPENDS= SDL::devel/sdl
|
2001-07-16 12:35:16 -04:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
2004-01-02 13:06:32 -05:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
USE_GCC3?= No
|
|
|
|
|
|
|
|
.if ${USE_GCC3:L} == "yes"
|
|
|
|
CONFIGURE_ENV= LIBS="${LIBS} -lstdc++ -lm"
|
|
|
|
.else
|
2001-07-16 12:35:16 -04:00
|
|
|
CONFIGURE_ENV= LIBS="${LIBS} -lstdc++"
|
2004-01-02 13:06:32 -05:00
|
|
|
.endif
|
2001-07-16 12:35:16 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|