openbsd-ports/graphics/mhgui/Makefile

45 lines
1.0 KiB
Makefile
Raw Normal View History

2010-11-17 03:05:12 -05:00
# $OpenBSD: Makefile,v 1.10 2010/11/17 08:05:15 espie Exp $
COMMENT= GUI widget library used in MakeHuman
DISTNAME= mhgui-0.1
2010-11-09 13:22:26 -05:00
REVISION = 3
SHARED_LIBS += mhgui 0.0 # .0.0
CATEGORIES= graphics
HOMEPAGE= http://www.dedalo-3d.com/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=makehuman/}
WANTLIB= GL GLU ICE SM X11 Xau Xdmcp Xext Xi Xmu Xt Xxf86vm m \
2010-11-17 03:05:12 -05:00
pthread-stubs xcb z animorph glut>=4 png>=5
2010-11-17 03:05:12 -05:00
LIB_DEPENDS= graphics/animorph \
graphics/freeglut \
graphics/png
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/GL \
-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib -lz -lm"
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
pre-configure:
perl -pi -e 's,packagedocdir=doc,packagedocdir=share/doc,g' \
${WRKSRC}/configure
perl -pi -e 's,doc/mhgui,share/doc/mhgui,g' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>