summaryrefslogtreecommitdiff
path: root/graphics/fnlib/Makefile
blob: cb4ce9e35196b9dbddb1bf29cb081e7925e257fe (plain)
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
32
33
34
35
36
# $NetBSD: Makefile,v 1.44 2011/04/22 13:42:43 obache Exp $
#

DISTNAME=		fnlib-0.5
PKGREVISION=		16
CATEGORIES=		x11 graphics
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=enlightenment/}

MAINTAINER=		pkgsrc-users@NetBSD.org
COMMENT=		Color font rendering library for X11R6

PKG_DESTDIR_SUPPORT=	user-destdir

# XXX Added to stop old distfiles conflicting due to the authors updating
# XXX fnlib-0.5.tar.gz without changing the filename.
# XXX Delete when DISTNAME next changes
DIST_SUBDIR=		fnlib

GNU_CONFIGURE=		YES
USE_LIBTOOL=		YES

CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q}
EGDIR=			${PREFIX}/share/examples/fnlib
CONF_FILES=		${EGDIR}/fnrc ${PKG_SYSCONFDIR}/fnrc

INSTALLATION_DIRS+=	share/doc/fnlib

post-install:
	${INSTALL_DATA} ${WRKSRC}/doc/fontinfo.README ${DESTDIR}${PREFIX}/share/doc/fnlib

.include "../../graphics/imlib/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"