summaryrefslogtreecommitdiff
path: root/devel/libdfui/Makefile
blob: 55993888828f8e8b42ad5d4f6d5e8212226a7a1e (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.4 2005/04/11 21:45:26 tv Exp $
#

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

MAINTAINER=	xtraeme@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"