mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
ba5d4a9a5c
tty.c wants a readline_echoing_p symbol that doesn't seem to exist in readline from ports.
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# Created by: adam
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pmf
|
|
PORTVERSION= 1.13.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://ftp.ntua.gr/pub/net/mud/lpmud/clients/pmf/ \
|
|
LOCAL/glarkin
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Padrone's Mud Frontend
|
|
|
|
WRKSRC= ${WRKDIR}/pmfdir
|
|
BUILD_WRKSRC= ${WRKDIR}/pmfdir/src
|
|
PATCH_WRKSRC= ${WRKDIR}/pmfdir/src
|
|
|
|
USES= readline
|
|
|
|
SUB_FILES= pmfrc.default
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !exists(/usr/lib/libreadline.so)
|
|
BROKEN= Does not build with modern readline from ports
|
|
.endif
|
|
|
|
post-build:
|
|
@${LN} -sf .pmfrc ${WRKSRC}/examples/dot.pmfrc
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/pmf ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/system_dir/NEWS ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKDIR}/pmfrc.default ${STAGEDIR}${DATADIR}
|
|
(cd ${WRKSRC}/system_dir && ${COPYTREE_SHARE} helpfiles ${STAGEDIR}${DATADIR})
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.post.mk>
|