aboutsummaryrefslogtreecommitdiffstats
path: root/net/pmf/Makefile
blob: fab96f50ba2c75807f473adf482ac507fa3244cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# New ports collection makefile for:    pmf
# Version required:     1.13.1
# Date created:         24 Sep 1994
# Whom:                 adam
#
# $Id: Makefile,v 1.2 1994/09/25 19:12:02 adam Exp $
#

DISTNAME=       pmf-1.13.1
MASTER_SITES=   ftp://ftp.lysator.liu.se/pub/lpmud/clients/
WRKSRC=     ${WRKDIR}/pmfdir/src

pre-install:
    @mkdir -p /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>