# $OpenBSD: Makefile,v 1.19 2012/09/02 09:34:19 ajacoutot Exp $ COMMENT= OpenGL Extrusion library DISTNAME= gle-3.1.0 CATEGORIES= graphics devel SHARED_LIBS += gle 4.0 # 4.0 HOMEPAGE= http://www.linas.org/gle/ # Artistic/IBM standard example source code or GPLv2 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB += m MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=project/gle/gle/${DISTNAME}/} BUILD_DEPENDS= graphics/freeglut USE_LIBTOOL= Yes SEPARATE_BUILD= Yes CONFIGURE_STYLE= gnu CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= ${CONFIGURE_SHARED} post-extract: perl -pi -e 's/3GLE/3/;' ${WRKSRC}/man/*.man perl -pi -e 's,3gle,3,g' ${WRKSRC}/man/Makefile.in .include