aboutsummaryrefslogtreecommitdiffstats
path: root/net/pmf/Makefile
blob: 44c2444e7a3df96f49d04fe12fa25a66953a7db6 (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
#
# $FreeBSD$
#

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>