summaryrefslogtreecommitdiffstats
path: root/emulators/xmame/Makefile
blob: 0a1453c6f4818ffc389566a4284ff459e8bae5ee (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
# New ports collection makefile for:    xmame
# Version required:     0.30.1
# Date created:         8 Feb 1998
# Whom:                 Donald Burr <dburr@FreeBSD.ORG>
#
# $Id: Makefile,v 1.1.1.1 1998/02/10 03:05:02 jkh Exp $
#

DISTNAME=	xmame-0.30.1_src
PKGNAME=        xmame-0.30.1
CATEGORIES=	emulators
MASTER_SITES=	ftp://drake.dit.upm.es/pub/emulators/mame/
EXTRACT_SUFX=	.tgz

MAINTAINER=	dburr@FreeBSD.ORG

LIB_DEPENDS=	Xpm\\.4\\.:${PORTSDIR}/graphics/xpm

WRKSRC=		${WRKDIR}/${PKGNAME}

USE_GMAKE=	YES
MAKEFILE=	makefile.unix

MAN6=		xmame.6

post-install:
.ifdef NOPORTDOCS
	@echo "==> Extra documentation WILL NOT be installed."
.else
	@echo "==> Installing extra documentation..."
	${MKDIR} ${PREFIX}/lib/mame
	for DOC in CHEAT.DOC Changes MailList.notes README.unix mamelist.txt readme.txt whatsnew.txt; do ${INSTALL} -c -o bin -g bin -m 444 ${WRKSRC}/doc/$${DOC} ${PREFIX}/lib/mame/$${DOC}; done
.endif
	(cd ${PREFIX}/lib/mame; sh ${FILESDIR}/dos2unx CHEAT.DOC Changes MailList.notes README.unix cheat.dat mamelist.txt readme.txt whatsnew.txt)
	@${CAT} ${PKGDIR}/MESSAGE

.include <bsd.port.mk>
OpenPOWER on IntegriCloud