openbsd-ports/graphics/mhgui/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

2011-10-23 07:06:17 -04:00
# $OpenBSD: Makefile,v 1.11 2011/10/23 11:06:17 ajacoutot Exp $
COMMENT= GUI widget library used in MakeHuman
2011-10-23 07:06:17 -04:00
DISTNAME= mhgui-0.2
CATEGORIES= graphics
2011-10-23 07:06:17 -04:00
SHARED_LIBS += mhgui 1.0 # unknown
HOMEPAGE= http://www.dedalo-3d.com/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
2011-10-23 07:06:17 -04:00
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2011-10-23 07:06:17 -04:00
WANTLIB += GL GLU ICE SM X11 Xdamage Xext Xfixes Xi Xmu Xt Xxf86vm
WANTLIB += animorph drm glut m png stdc++ xcb z
2011-10-23 07:06:17 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=makehuman/}
2011-10-23 07:06:17 -04:00
LIB_DEPENDS= graphics/animorph>=0.3 \
2010-11-17 03:05:12 -05:00
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
2011-10-23 07:06:17 -04:00
# remove useless files (ChangeLog, INSTALL...)
post-install:
rm -rf ${PREFIX}/share/doc
.include <bsd.port.mk>