aboutsummaryrefslogtreecommitdiff
path: root/graphics/ftgl/Makefile
blob: 67ae09f486fca6268ae2f67a9551a5a3be1a9ae3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Igor Pokrovsky <tiamat@comset.net>
# $FreeBSD$

PORTNAME=	ftgl
DISTVERSION=	2.1.3-rc5
PORTREVISION=	3
PORTEPOCH=	1
CATEGORIES=	graphics
MASTER_SITES=	SF/${PORTNAME}/FTGL%20Source/2.1.3%7Erc5

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	OpenGL FreeType fonts rendering library

LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-gl-inc="${LOCALBASE}/include" \
		--without-glut-inc
USES=		pathfix gmake libtool
USE_GL=		gl glu
USE_XORG=	x11 xext xmu
INSTALL_TARGET=	install-strip
USE_LDCONFIG=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION:S/-/~/}

post-patch:
	@${REINPLACE_CMD} -e '/SUBDIRS/ s|docs||; /SUBDIRS/ s|demo||' \
		${WRKSRC}/Makefile.in

.include <bsd.port.mk>