summaryrefslogtreecommitdiff
path: root/emulators/xhomer/Makefile
blob: 37dc086c9fc496f3d9f8abefcfb3df2d73704f3d (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
# New ports collection makefile for:	xhomer
# Date created:			24 May 2006
# Whom:				trasz
#
# $FreeBSD$
#

PORTNAME=	xhomer
DISTVERSION=	9-16-06
PORTREVISION=	1
PORTEPOCH=	1
CATEGORIES=	emulators
MASTER_SITES=	http://xhomer.isani.org/xhomer/
EXTRACT_SUFX=	.tgz

MAINTAINER=	trasz@freebsd.org
COMMENT=	Emulator for the DEC Pro 350 computer

USE_GMAKE=	yes
USE_XLIB=	yes
ALL_TARGET=	clean xhomer
INSTALL_TARGET=
CFLAGS+=	-Wall -ffloat-store
SUB_FILES=	pkg-message
PKGMESSAGE=	${WRKDIR}/pkg-message

PLIST_FILES=	bin/xhomer %%EXAMPLESDIR%%/xhomer.cfg
PLIST_DIRS=	%%EXAMPLESDIR%%
PORTDOCS=	README LICENSE SIMH

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
	${INSTALL_PROGRAM} ${WRKSRC}/xhomer ${PREFIX}/bin
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/xhomer.cfg ${EXAMPLESDIR}
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>