summaryrefslogtreecommitdiff
path: root/net/pmf/Makefile
blob: e7bd1bbf16eb911e51fcde320cf8b66db213bd82 (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.4 1995/04/01 12:48:28 jkh Exp $
#

DISTNAME=       pmf-1.13.1
CATEGORIES+=	networking
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>