aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/p-interp/Makefile
blob: 6206f394738b2ecaa0e50724358207c9045c1f01 (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
# 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.apple.asimov.net/pub/apple_II/images/utility/programming/apple_pascal/
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} \
        apple_pascal_0.dsk.gz apple_pascal_1.dsk.gz \
        apple_pascal_2.dsk.gz apple_pascal_3.dsk.gz
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= nsayer@FreeBSD.org

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

post-patch:
        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>