Makefile 711 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.25 2016/03/11 19:59:14 naddy Exp $
  2. COMMENT= OpenGL Extrusion library
  3. DISTNAME= gle-3.1.0
  4. REVISION= 1
  5. CATEGORIES= graphics devel
  6. SHARED_LIBS += gle 4.0 # 4.0
  7. HOMEPAGE= http://www.linas.org/gle/
  8. # Artistic/IBM standard example source code or GPLv2
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB += m
  11. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=project/gle/gle/${DISTNAME}/}
  12. BUILD_DEPENDS= graphics/freeglut
  13. SEPARATE_BUILD= Yes
  14. CONFIGURE_STYLE= gnu
  15. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  16. LDFLAGS="-L${LOCALBASE}/lib"
  17. post-extract:
  18. sed -i 's/3GLE/3/;' ${WRKSRC}/man/*.man
  19. sed -i 's,3gle,3,g' ${WRKSRC}/man/Makefile.in
  20. .include <bsd.port.mk>