summaryrefslogtreecommitdiff
path: root/emulators/ski/Makefile
blob: 4ce236b2f61923ee3c14dbc6cd43b025f458cede (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
37
38
39
# $NetBSD: Makefile,v 1.17 2015/08/18 07:31:07 wiz Exp $
#

DISTNAME=	ski-1.3.2
PKGREVISION=	2
CATEGORIES=	emulators
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=ski/}

MAINTAINER=	cherry@zyx.in
HOMEPAGE=	http://ski.sourceforge.net/
COMMENT=	The ia64 instruction set simulator

BUILD_DEPENDS+= libelf>=0.8.13:../../devel/libelf

GNU_CONFIGURE=	yes
USE_LANGUAGES+= c c++
CONFIGURE_ARGS+= --prefix=${PREFIX}

CPPFLAGS+=	-I${PREFIX}/include/libelf -L ${PREFIX}/lib

USE_TOOLS+=	pkg-config aclocal autoconf automake autoreconf yacc
USE_LIBTOOL=	yes
USE_NCURSES=	yes

pre-configure:
#	cd  ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${SH} ./autogen.sh ${CONFIGURE_ARGS}
	cd ${WRKSRC} && autoreconf -fi -I macros

post-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/X11/app-defaults
	${INSTALL_DATA} ${WRKSRC}/src/XSki \
			${DESTDIR}${PREFIX}/lib/X11/app-defaults/XSki

.include "../../devel/gperf/buildlink3.mk"
.include "../../devel/libelf/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"