2005-02-27 15:47:24 +01:00
|
|
|
# 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
|
2005-11-14 23:15:21 +01:00
|
|
|
PORTVERSION= 2.0
|
2005-02-27 15:47:24 +01:00
|
|
|
CATEGORIES= sysutils converters
|
2006-04-07 17:13:17 +02:00
|
|
|
MASTER_SITES= http://www.iceb.vc.ukrtel.net/download/
|
2005-02-27 15:47:24 +01:00
|
|
|
|
2007-12-18 00:27:36 +01:00
|
|
|
MAINTAINER= bsam@FreeBSD.org
|
2005-02-27 15:47:24 +01:00
|
|
|
COMMENT= Implementation of the utility "mapchan" from SCO Unix
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2005-11-14 23:15:21 +01:00
|
|
|
MAKE_ENV= MAPDIR=${PREFIX}/etc/${PORTNAME}
|
|
|
|
|
2005-02-27 15:47:24 +01:00
|
|
|
ETCDAT= *.map default.sample
|
|
|
|
|
|
|
|
MAN8= mapchan.8
|
|
|
|
|
|
|
|
PORTDOCS= README
|
|
|
|
|
2005-11-14 23:15:21 +01:00
|
|
|
post-extract:
|
2005-02-27 15:47:24 +01:00
|
|
|
@${CP} ${WRKSRC}/doc/mapchan.F ${WRKSRC}/doc/mapchan.8
|
|
|
|
|
2005-11-14 23:15:21 +01:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name '*.orig' | ${XARGS} ${RM}
|
|
|
|
@${CP} ${WRKSRC}/examples/default ${WRKSRC}/examples/default.sample
|
2005-02-27 15:47:24 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/mapchan.c
|
|
|
|
|
|
|
|
post-install:
|
2005-11-14 23:15:21 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/mapchan.8 ${MANPREFIX}/man/man8
|
2005-02-27 15:47:24 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|