aboutsummaryrefslogtreecommitdiffstats
path: root/net/pmf/Makefile
blob: 81f01b8a6d2a29bca185371c6b3720fc5f43988c (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
# New ports collection makefile for:    pmf
# Version required:     1.13.1
# Date created:         24 Sep 1994
# Whom:                 adam
#
# $Id: Makefile,v 1.8 1996/12/01 01:23:05 obrien Exp $
#

DISTNAME=       pmf-1.13.1
CATEGORIES= net
MASTER_SITES=   ftp://ftp.lysator.liu.se/pub/lpmud/clients/pmf/

WRKSRC=     ${WRKDIR}/pmfdir/src

pre-install:
    @${MKDIR} /usr/local/lib/pmf
    @find ${WRKSRC}/../system_dir -name '*.orig' -exec rm {} \;
    @-mv ${WRKSRC}/../doc/pmf.doc ${WRKSRC}/../system_dir
    @tar -C ${WRKSRC}/../system_dir -cf - . \
        | tar -C /usr/local/lib/pmf -xf -
    @chown -R bin.bin /usr/local/lib/pmf
    @chmod -R a-w /usr/local/lib/pmf

.include <bsd.port.mk>