2009-06-06 05:18:56 +00:00
|
|
|
COMMENT = font rendering library for OpenGL applications
|
|
|
|
|
|
2011-05-30 13:47:03 +00:00
|
|
|
V = 2.1.3
|
|
|
|
|
DISTNAME = ftgl-$V-rc5
|
2011-06-06 22:08:42 +00:00
|
|
|
PKGNAME = ftgl-$Vrc5
|
2025-07-25 12:39:03 +00:00
|
|
|
REVISION = 12
|
2011-06-06 22:08:42 +00:00
|
|
|
EPOCH = 0
|
2009-06-06 05:18:56 +00:00
|
|
|
SHARED_LIBS = ftgl 0.0 # 2.1
|
|
|
|
|
CATEGORIES = graphics
|
|
|
|
|
|
2023-11-07 14:19:05 +00:00
|
|
|
HOMEPAGE = https://ftgl.wiki.sourceforge.net
|
2009-06-06 05:18:56 +00:00
|
|
|
|
|
|
|
|
# MIT license or the GNU LGPL, at your option.
|
2019-07-12 20:46:54 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2009-06-06 05:18:56 +00:00
|
|
|
|
2025-07-25 12:39:03 +00:00
|
|
|
WANTLIB += GL GLU ICE SM X11 Xext Xfixes Xmu Xt Xxf86vm drm
|
2017-07-16 19:18:47 +00:00
|
|
|
WANTLIB += freetype m ${COMPILER_LIBCXX} xcb xcb-glx z expat
|
2022-03-31 14:20:40 +00:00
|
|
|
WANTLIB += X11-xcb glapi pthread xcb-dri2
|
|
|
|
|
WANTLIB += Xau Xdmcp xcb-dri3 xcb-present xcb-shm xcb-sync xcb-xfixes xshmfence
|
2025-07-25 12:39:03 +00:00
|
|
|
WANTLIB += LLVM drm_amdgpu elf pciaccess xcb-randr
|
2015-05-05 17:00:16 +00:00
|
|
|
|
2018-10-24 14:27:57 +00:00
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
|
|
2009-06-06 05:18:56 +00:00
|
|
|
WRKDIST = ${WRKDIR}/${DISTNAME:S/-rc/~rc/}
|
|
|
|
|
|
2023-09-26 11:39:01 +00:00
|
|
|
SITES = ${SITE_SOURCEFORGE:=ftgl/}
|
2009-06-06 05:18:56 +00:00
|
|
|
CONFIGURE_STYLE = gnu
|
2016-03-11 20:07:49 +00:00
|
|
|
CONFIGURE_ARGS += --with-gl-inc=${X11BASE}/include \
|
2009-06-06 05:18:56 +00:00
|
|
|
--with-gl-lib=${X11BASE}/lib
|
|
|
|
|
|
2009-06-13 16:24:31 +00:00
|
|
|
CONFIGURE_ENV += ac_cv_path_DOXYGEN=no
|
2009-06-06 05:18:56 +00:00
|
|
|
|
2011-05-30 13:47:03 +00:00
|
|
|
# 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:
|
2015-10-08 12:02:03 +00:00
|
|
|
sed -i 's,\@PACKAGE_VERSION\@,${V},' ${WRKSRC}/ftgl.pc.in
|
2011-05-30 13:47:03 +00:00
|
|
|
|
2011-09-16 17:22:13 +00:00
|
|
|
post-install:
|
|
|
|
|
${INSTALL_DATA} \
|
|
|
|
|
${WRKSRC}/src/FTLibrary.h \
|
|
|
|
|
${WRKSRC}/src/FTFace.h \
|
|
|
|
|
${WRKSRC}/src/FTSize.h \
|
|
|
|
|
${PREFIX}/include/FTGL/
|
|
|
|
|
|
2009-06-06 05:18:56 +00:00
|
|
|
.include <bsd.port.mk>
|