openbsd-ports/emulators/gxemul/Makefile

41 lines
851 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.7 2005/12/20 18:57:40 pvalchev Exp $
COMMENT= "MIPS (and other) machines emulator"
DISTNAME= gxemul-0.3.7
PKGNAME= ${DISTNAME}p0
CATEGORIES= emulators
HOMEPAGE= http://gavare.se/gxemul/
MAINTAINER= Alexander Yurchenko <grange@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/src/
WANTLIB= c m
CONFIGURE_STYLE= simple
FLAVORS= no_x11
FLAVOR?=
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS= --disable-x
.else
USE_X11= Yes
WANTLIB+= X11
.endif
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gxemul
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/gxemul
${INSTALL_DATA} ${WRKSRC}/man/gxemul.1 ${PREFIX}/man/man1
.include <bsd.port.mk>