summaryrefslogtreecommitdiff
path: root/emulators/ski/Makefile
blob: 3eb093b811663683f0c3b83fb1621cafc5b4c95a (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.16 2015/08/17 17:11:22 wiz Exp $
#

DISTNAME=	ski-1.3.2
PKGREVISION=	1
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"