41 lines
809 B
Makefile
41 lines
809 B
Makefile
# $OpenBSD: Makefile,v 1.33 2014/10/12 13:26:16 bcallah Exp $
|
|
|
|
COMMENT= ARM/M88k/MIPS/PowerPC/SuperH machines emulator
|
|
|
|
DISTNAME = gxemul-0.6.0.1
|
|
CATEGORIES= emulators
|
|
|
|
HOMEPAGE= http://gxemul.sourceforge.net/
|
|
MAINTAINER= Brian Callahan <bcallah@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gxemul/}
|
|
|
|
WANTLIB = c m stdc++
|
|
|
|
CONFIGURE_STYLE= simple
|
|
|
|
FLAVORS= no_x11
|
|
FLAVOR?=
|
|
|
|
.if ${FLAVOR:Mno_x11}
|
|
CONFIGURE_ARGS= --disable-x
|
|
.else
|
|
WANTLIB+= X11
|
|
.endif
|
|
|
|
NO_TEST= Yes
|
|
|
|
INSTALL_STRIP=
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gxemul
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.{gif,png,html} \
|
|
${PREFIX}/share/doc/gxemul
|
|
${INSTALL_DATA} ${WRKSRC}/man/gxemul.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|