Index: head/sysutils/mapchan/Makefile =================================================================== --- head/sysutils/mapchan/Makefile (revision 448006) +++ head/sysutils/mapchan/Makefile (revision 448007) @@ -1,34 +1,36 @@ # Created by: Konstantin Reznichenko # $FreeBSD$ PORTNAME= mapchan PORTVERSION= 3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils converters MASTER_SITES= SF MAINTAINER= bsam@FreeBSD.org COMMENT= Transform the input and output of a terminal (SCO Unix alike) + +LICENSE= GPLv2 USES= iconv tar:tgz WRKSRC= ${WRKDIR}/${PORTNAME} MAKE_ENV= STAGEDIR=${STAGEDIR} MAPDIR=${STAGEDIR}${PREFIX}/etc/${PORTNAME} CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} OPTIONS_DEFINE= DOCS post-extract: @${CP} ${WRKSRC}/doc/mapchan.F ${WRKSRC}/doc/mapchan.8 post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/doc/mapchan.8 ${STAGEDIR}${MANPREFIX}/man/man8 post-patch: @${MV} ${WRKSRC}/examples/default ${WRKSRC}/examples/default.sample @${RM} ${WRKSRC}/examples/default.orig ${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/mapchan.c ${REINPLACE_CMD} -e "s|utmp.h|utmpx.h|" ${WRKSRC}/mapchan.c .include Index: head/sysutils/mapchan/pkg-descr =================================================================== --- head/sysutils/mapchan/pkg-descr (revision 448006) +++ head/sysutils/mapchan/pkg-descr (revision 448007) @@ -1,12 +1,12 @@ mapchan - A program which allows you to transform the input and output of a terminal (including a serial port terminal). It is useful when: * You need to work with various encodings on various virtual terminals * You have an assortment of terminals, not one of which supports your favorite encoding. This software is an incomplete implementation of the functionality of the utility "mapchan" of SCO Unix. -WWW: http://www.iceb.vc.ukrtel.net/ +WWW: https://mapchan.sourceforge.io/