blob: b41da7021315c45d069509c7e313f363ffef009a (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# New ports collection makefile for: pmf
# Date created: 24 Sep 1994
# Whom: adam
#
# $FreeBSD$
#
PORTNAME= pmf
PORTVERSION= 1.13.1
CATEGORIES= net
MASTER_SITES= ftp://ftp.lysator.liu.se/pub/lpmud/clients/pmf/
MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/pmfdir/src
SYSSRC= ${WRKSRC}/../system_dir
DOCSRC= ${WRKSRC}/../doc
XMPSRC= ${WRKSRC}/../examples
post-patch:
@${SED} -e 's:%%PREFIX%%:${PREFIX}:g' ${FILESDIR}/pmfrc.default.in \
> ${SYSSRC}/pmfrc.default
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pmf ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/pmf
${INSTALL_DATA} ${SYSSRC}/NEWS ${PREFIX}/share/pmf
${INSTALL_DATA} ${SYSSRC}/pmfrc.default ${PREFIX}/share/pmf
@${MKDIR} ${PREFIX}/share/pmf/helpfiles
${INSTALL_DATA} ${SYSSRC}/helpfiles/.pmfrc ${PREFIX}/share/pmf/helpfiles
${INSTALL_DATA} ${SYSSRC}/helpfiles/* ${PREFIX}/share/pmf/helpfiles
@${MKDIR} ${PREFIX}/share/examples/pmf
${INSTALL_DATA} ${XMPSRC}/.pmfrc ${PREFIX}/share/examples/pmf/dot.pmfrc
${INSTALL_DATA} ${XMPSRC}/* ${PREFIX}/share/examples/pmf
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/pmf
${INSTALL_DATA} ${DOCSRC}/* ${PREFIX}/share/doc/pmf
.endif
.include <bsd.port.mk>
|