From nobody Mon Jun 06 21:56:59 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2DA881BEBAD6; Mon, 6 Jun 2022 21:57:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LH6lb4bJSz3mgs; Mon, 6 Jun 2022 21:56:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654552619; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7uVref5t3Hbl6FxHazlWyYQDi00l/spyJcW6mzK14nw=; b=NMYDgRc8UfELan9KVM7u3z5rOZYh0A/xUy3KXYYzBKwH+eF0jmnhlzkvoGNVGlC6j3SAxd dH9bxAc5yj9xNDS5qTDv4BGkSpq/Wi+Fo7R9cXXoCPZefN/3kz26P9SrDetjpI7SiyjClK 4lefFBPHU8Jsl9uwTCAh7CNemq8WvY5+sbmXsb2pIuWh0ZEpRHPjW1RZ9s1XJhkr3f98k+ MykZ7f5JnRCbLteZeVjDQ+oxugmUU4CyTxLDPIIa86h5etG15nPa2NbRC4Vc74kidjTQAr BBUtpW8lBTwHMXfITdY0Bgpu06ooCFoz5UfTo0S847stqfNOV56V9HRoMBTmHQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 645C166B6; Mon, 6 Jun 2022 21:56:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 256Luxxs081116; Mon, 6 Jun 2022 21:56:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 256LuxGU081115; Mon, 6 Jun 2022 21:56:59 GMT (envelope-from git) Date: Mon, 6 Jun 2022 21:56:59 GMT Message-Id: <202206062156.256LuxGU081115@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: bb4ded315cec - main - sysutils/mapchan: Refresh pkg-plist List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bb4ded315cecbd9ed100154e77a71aef76d66463 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654552619; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7uVref5t3Hbl6FxHazlWyYQDi00l/spyJcW6mzK14nw=; b=fHw6yt2fKwUMeHmf+4QxdEUb87Ohv8nl9Meosj0/kYkuIZf5NxWQjF3Kf7m26SkQsDLFkZ 78z5o75lFhfXKl2/kUrZxf1BLFEp/5HCYq267MZbQxgWJ51qWrzU3GM8JgSQqHJwR8e/JH JbkMDyukzDrA/fiaaDRL4y6uxxdjurqqBIJtKIkOkuWVnhffa2WdGzEkuMtWtCQRe7puIy MpYRt1VzqH1PrDPQ9O9J+RQID82Tm8Tc7Vg2GpW2h0PkqjLvmHJnkKO99JDWnumLu+7M6X UR9AzNJriFfNDPu7sJxUSpztzcl9m3Mx8jxTxxlcT1ZcLPbXhCICG6oKVWN7JA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654552619; a=rsa-sha256; cv=none; b=f8SbL4gLoI1SYYGGXT5yJ0a++Db1lDYQEzRII5h0nCoN+u1UJhWRtAkZ/GJ7lmlkzVxYUN g52RanklPbH4CXuHIj4du2wfP4rdj+Sc7+msObbEi3s145z6e0CRfIbDKzWbpK+qvAXBFs jX+ewx1lZAw118Oprwk5YPfDGi/u9sxZotQMb7PIrKrF7c7BLrv0TyMw/w/LyfZ7kUhFag YCMg6TG9w5W+UXmVDf31N/FLciTS9LaQ//p0DIb1qm6iU6oME5yz5DKbKtd7RRjDwVnTSV j4yIkYhLN2qo+HXq94bpa79hb0j851lCMKq2M9odXy+a1BohB4H9VA6wUbTj8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=bb4ded315cecbd9ed100154e77a71aef76d66463 commit bb4ded315cecbd9ed100154e77a71aef76d66463 Author: Muhammad Moinur Rahman AuthorDate: 2022-06-06 21:43:16 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-06-06 21:56:48 +0000 sysutils/mapchan: Refresh pkg-plist - Use @sample instead of @unexec - Use %%ETCDIR%% - Fix post-install for DOCS --- sysutils/mapchan/Makefile | 23 +++++++++++++++-------- sysutils/mapchan/pkg-plist | 25 ++++++++++++------------- 2 files changed, 27 insertions(+), 21 deletions(-) diff --git a/sysutils/mapchan/Makefile b/sysutils/mapchan/Makefile index c7eb83d48ee7..13c01d7d6de8 100644 --- a/sysutils/mapchan/Makefile +++ b/sysutils/mapchan/Makefile @@ -2,7 +2,7 @@ PORTNAME= mapchan PORTVERSION= 3.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils converters MASTER_SITES= SF @@ -12,24 +12,31 @@ 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} + +MAKE_ENV= MAPDIR=${STAGEDIR}${PREFIX}/etc/${PORTNAME} \ + STAGEDIR=${STAGEDIR} + CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} + +WRKSRC= ${WRKDIR}/${PORTNAME} + 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 +post-install: + ${INSTALL_MAN} ${WRKSRC}/doc/mapchan.8 ${STAGEDIR}${MANPREFIX}/man/man8 + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + .include diff --git a/sysutils/mapchan/pkg-plist b/sysutils/mapchan/pkg-plist index e7b5b779df18..8393db0c8632 100644 --- a/sysutils/mapchan/pkg-plist +++ b/sysutils/mapchan/pkg-plist @@ -1,16 +1,15 @@ bin/mapchan -etc/mapchan/altkoi.map -@unexec if cmp -s %D/etc/mapchan/default %D/etc/mapchan/default.sample; then rm -f %D/etc/mapchan/default; fi -etc/mapchan/default.sample -etc/mapchan/dos2koi-kbd.map -etc/mapchan/dos2koi.map -etc/mapchan/k180.map -etc/mapchan/koi2win.map -etc/mapchan/koiualt.map -etc/mapchan/koiumain.map -etc/mapchan/msm.map -etc/mapchan/sm7238.map -etc/mapchan/trivial.map -etc/mapchan/win2koi.map +%%ETCDIR%%/altkoi.map +@sample %%ETCDIR%%/default.sample +%%ETCDIR%%/dos2koi-kbd.map +%%ETCDIR%%/dos2koi.map +%%ETCDIR%%/k180.map +%%ETCDIR%%/koi2win.map +%%ETCDIR%%/koiualt.map +%%ETCDIR%%/koiumain.map +%%ETCDIR%%/msm.map +%%ETCDIR%%/sm7238.map +%%ETCDIR%%/trivial.map +%%ETCDIR%%/win2koi.map man/man8/mapchan.8.gz %%PORTDOCS%%%%DOCSDIR%%/README