summaryrefslogtreecommitdiff
path: root/emulators/xm7/Makefile
blob: cdda80257980fd006619e476b3a919bff3b506ca (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
40
41
42
43
# $NetBSD: Makefile,v 1.29 2012/01/03 07:17:01 obache Exp $
#

DISTNAME=		xm71020s
PKGNAME=		xm7-1020s
CATEGORIES=		emulators
MASTER_SITES=		http://yohkai.no-ip.info/fm7/
EXTRACT_SUFX=		.zip

MAINTAINER=		tech-pkg-ja@jp.NetBSD.org
HOMEPAGE=		http://yohkai.no-ip.info/fm7/XM7.htm
COMMENT=		X11-based FM-7 emulator
LICENSE=		xm7-license

RESTRICTED=		source archive is not redistributable
NO_BIN_ON_CDROM=	${RESTRICTED}
NO_SRC_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_FTP=		${RESTRICTED}
NO_SRC_ON_FTP=		${RESTRICTED}

BUILD_DEPENDS+=		nkf>=1.7:../../converters/nkf

PKG_DESTDIR_SUPPORT=	user-destdir
NOT_FOR_BULK_PLATFORM=	Linux-*-*

EXTRACT_OPTS_ZIP=	-aqoLL	# lower-case filenames are expected

WRKSRC=			${WRKDIR}/vm
NO_CONFIGURE=		yes
MAKE_FILE=		makefile.x11
INSTALLATION_DIRS=	bin

post-extract:
	cd ${WRKDIR} && mv linux/* vm

do-install:
	${INSTALL_PROGRAM} ${WRKDIR}/vm/xm7 ${DESTDIR}${PREFIX}/bin

.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"