123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- # $OpenBSD: Makefile,v 1.17 2017/04/10 11:46:20 sthen Exp $
- COMMENT = font rendering library for OpenGL applications
- V = 2.1.3
- DISTNAME = ftgl-$V-rc5
- PKGNAME = ftgl-$Vrc5
- REVISION = 5
- EPOCH = 0
- SHARED_LIBS = ftgl 0.0 # 2.1
- CATEGORIES = graphics
- HOMEPAGE = http://ftgl.wiki.sourceforge.net
- MAINTAINER = Peter Hessler <phessler@openbsd.org>
- # MIT license or the GNU LGPL, at your option.
- PERMIT_PACKAGE_CDROM = Yes
- WANTLIB += GL GLU ICE SM X11 Xdamage Xext Xfixes Xmu Xt Xxf86vm drm
- WANTLIB += freetype m ${LIBCXX} xcb xcb-glx z expat
- WANTLIB += X11-xcb glapi pthread xcb-dri2
- WRKDIST = ${WRKDIR}/${DISTNAME:S/-rc/~rc/}
- MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ftgl/}
- CONFIGURE_STYLE = gnu
- CONFIGURE_ARGS += --with-gl-inc=${X11BASE}/include \
- --with-gl-lib=${X11BASE}/lib
- CONFIGURE_ENV += ac_cv_path_DOXYGEN=no
- # 2.1.3~rc5 is a ridiculous version to stow in a pkg-config file,
- # so add this workaround to prevent pkg-config from choking.
- pre-configure:
- sed -i 's,\@PACKAGE_VERSION\@,${V},' ${WRKSRC}/ftgl.pc.in
- post-install:
- ${INSTALL_DATA} \
- ${WRKSRC}/src/FTLibrary.h \
- ${WRKSRC}/src/FTFace.h \
- ${WRKSRC}/src/FTSize.h \
- ${PREFIX}/include/FTGL/
- .include <bsd.port.mk>
|