freebsd-ports/sysutils/mapchan/Makefile
Mark Linimon e4eff009d2 Reset bouncing maintainer address; mark broken since it does not fetch.
Version 2.0, however, is available from the same site if someone wants
to save this port.

Source:		distfile survey
2005-10-10 02:03:15 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: Utility "mapchan" of SCO Unix
# Date created: 17 February 2004
# Whom: Konstantin Reznichenko <kot@premierbank.dp.ua>
#
# $FreeBSD$
#
PORTNAME= mapchan
PORTVERSION= 1.4
CATEGORIES= sysutils converters
MASTER_SITES= http://www.iceb.vinnitsa.com/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Implementation of the utility "mapchan" from SCO Unix
BROKEN= "1.4 is unfetchable but 2.0 is available from the site"
DEPRECATED= ${BROKEN}
EXPIRATION_DATE= 2005-12-09
USE_BZIP2= yes
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
ETCDAT= *.map default.sample
MAN8= mapchan.8
PORTDOCS= README
pre-patch:
@${CP} ${WRKSRC}/doc/mapchan.F ${WRKSRC}/doc/mapchan.8
@${CP} ${WRKSRC}/examples/default ${WRKSRC}/examples/default.sample
pre-build:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/mapchan.c
post-install:
@${MKDIR} ${PREFIX}/etc/${PORTNAME}
${INSTALL_DATA} ${ETCDAT:S|^|${WRKSRC}/examples/|} ${PREFIX}/etc/${PORTNAME}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
${INSTALL_MAN} ${WRKSRC}/doc/mapchan.8 ${MANPREFIX}/man/man8
.include <bsd.port.mk>