mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
b760897dde
Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D10845
32 lines
818 B
Makefile
32 lines
818 B
Makefile
# Created by: Igor Pokrovsky <tiamat@telegraph.spb.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gltt
|
|
PORTVERSION= 2.5.2
|
|
PORTREVISION= 14
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://gltt.sourceforge.net/download/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= TrueType fonts rendering using OpenGL
|
|
|
|
LIB_DEPENDS= libttf.so:print/freetype
|
|
|
|
USES= gmake libtool
|
|
USE_GL= gl glut
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS= --with-ttf-includes=${LOCALBASE}/include/freetype1 \
|
|
--with-ttf-libraries=${LOCALBASE}/lib \
|
|
--with-gl-includes=${LOCALBASE}/include \
|
|
--with-gl-libraries=${LOCALBASE}/lib \
|
|
--with-glut-includes=${LOCALBASE}/include \
|
|
--with-glut-libraries=${LOCALBASE}/lib
|
|
USE_LDCONFIG= yes
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgltt.so
|
|
|
|
.include <bsd.port.mk>
|