summaryrefslogtreecommitdiff
path: root/net/pmf/Makefile
blob: bde4a38d9d8da7cb3201b58c3bd14426f504a56e (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
# New ports collection makefile for:    pmf
# Version required:     1.13.1
# Date created:         24 Sep 1994
# Whom:                 adam
#
# $Id: Makefile,v 1.11 1999/06/06 12:51:53 jseger Exp $
#

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

MAINTAINER=	ports@freebsd.org

BROKEN_ELF=	cc: c_packages/libc_packs.a: No such file or directory
WRKSRC=		${WRKDIR}/pmfdir/src

pre-install:
	@${MKDIR} ${PREFIX}/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 ${PREFIX}/lib/pmf -xf -
	@${CHOWN} -R bin.bin ${PREFIX}/lib/pmf
	@${CHMOD} -R a-w ${PREFIX}/lib/pmf

.include <bsd.port.mk>