summaryrefslogtreecommitdiff
path: root/devel/libdfui/Makefile
blob: f3cd63ff316501e1d412f3a2fc6fc8dbdbb26812 (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
# $NetBSD: Makefile,v 1.5 2006/02/12 15:24:14 xtraeme Exp $
#

DISTNAME=	libdfui-3.0
PKGREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	http://www.bsdinstaller.org/distfiles/

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://www.bsdinstaller.org/
COMMENT=	LIBrary for DragonFly User Interfaces

WRKSRC=		${WRKDIR}/libdfui

SUBST_CLASSES+=		prefix
SUBST_STAGE.prefix=	post-patch
SUBST_FILES.prefix=	Makefile
SUBST_SED.prefix=	-e "s,/usr/local,${PREFIX},g"
SUBST_MESSAGE.prefix=	"Fixing hardcoded paths."

INSTALLATION_DIRS=	include/dfui lib

HEADER_FILES=		dfui dump lang system

do-install:
.for f in ${HEADER_FILES}
	${INSTALL_DATA} ${WRKSRC}/${f}.h ${PREFIX}/include/dfui
.endfor
	${INSTALL_LIB} ${WRKSRC}/libdfui.so* ${PREFIX}/lib
	${INSTALL_LIB} ${WRKSRC}/libdfui*.a ${PREFIX}/lib

.include "../../devel/libaura/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"