summaryrefslogtreecommitdiff
path: root/emulators/p-interp/Makefile
blob: aad98e17f072b7e812f6395df01e76aa16c6bd52 (plain) (blame)
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
44
45
46
# New ports collection makefile for:    p-interp
# Date created:         21 Aug 2001
# Whom:                 Nick Sayer <nsayer@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=	p-interp
PORTVERSION=	0.5
CATEGORIES=	emulators
MASTER_SITES=	http://www.klebsch.de/ \
		ftp://ftp.mayn.de/pub/mirrors/apple.asimov.net/programming/apple_pascal/:disks
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		apple_pascal_0.dsk.gz:disks apple_pascal_1.dsk.gz:disks \
		apple_pascal_2.dsk.gz:disks apple_pascal_3.dsk.gz:disks
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A UCSD (Apple) Pascal p-code interpreter environment

USE_XLIB=	yes

RESTRICTED=	"Redistribution rights for Apple Pascal disk images are unclear"

MAN1=	ucsd.1 svolio.1 svolcvt.1

.include <bsd.port.pre.mk>

post-extract:
		@cp ${DISTDIR}/apple_pascal_?.dsk.gz ${WRKDIR}/${DISTNAME}
		@gunzip ${WRKDIR}/${DISTNAME}/apple_pascal_?.dsk.gz

pre-build:
		cd ${WRKDIR}/${DISTNAME} && ${MAKE} depend

post-build:
		cd ${WRKDIR}/${DISTNAME} && ${MAKE} work.svol

pre-install:
		${MKDIR} ${PREFIX}/share/p-interp
		${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README ${PREFIX}/share/p-interp
		${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/COPYING ${PREFIX}/share/p-interp
		${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/system.svol ${PREFIX}/share/p-interp
		${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/work.svol ${PREFIX}/share/p-interp

.include <bsd.port.post.mk>