freebsd-ports/net/pmf/Makefile
2003-02-20 19:00:52 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: pmf
# Date created: 24 Sep 1994
# Whom: adam
#
# $FreeBSD$
#
PORTNAME= pmf
PORTVERSION= 1.13.1
CATEGORIES= net
MASTER_SITES= http://ftp.ntua.gr/pub/net/mud/lpmud/clients/pmf/
MAINTAINER= ports@FreeBSD.org
COMMENT= Padrone's Mud Frontend
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} ${DATADIR}
${INSTALL_DATA} ${SYSSRC}/NEWS ${DATADIR}
${INSTALL_DATA} ${SYSSRC}/pmfrc.default ${DATADIR}
@${MKDIR} ${DATADIR}/helpfiles
${INSTALL_DATA} ${SYSSRC}/helpfiles/.pmfrc ${DATADIR}/helpfiles
${INSTALL_DATA} ${SYSSRC}/helpfiles/* ${DATADIR}/helpfiles
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${XMPSRC}/.pmfrc ${EXAMPLESDIR}/dot.pmfrc
${INSTALL_DATA} ${XMPSRC}/* ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOCSRC}/* ${DOCSDIR}
.endif
.include <bsd.port.mk>