From owner-dev-commits-ports-branches@freebsd.org Fri Apr 9 15:09:41 2021 Return-Path: Delivered-To: dev-commits-ports-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D7B305BB83C; Fri, 9 Apr 2021 15:09:41 +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 4FH1ks5mm0z4p5L; Fri, 9 Apr 2021 15:09:41 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 B915E201A7; Fri, 9 Apr 2021 15:09:41 +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 139F9fkR020027; Fri, 9 Apr 2021 15:09:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 139F9fZ9020026; Fri, 9 Apr 2021 15:09:41 GMT (envelope-from git) Date: Fri, 9 Apr 2021 15:09:41 GMT Message-Id: <202104091509.139F9fZ9020026@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Rene Ladan Subject: git: e1fb9ce7111c - 2021Q2 - x11/xmascot: clean up port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rene X-Git-Repository: ports X-Git-Refname: refs/heads/2021Q2 X-Git-Reftype: branch X-Git-Commit: e1fb9ce7111c24f22ba0c8622480fe9a6339f702 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-branches@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2021 15:09:41 -0000 The branch 2021Q2 has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=e1fb9ce7111c24f22ba0c8622480fe9a6339f702 commit e1fb9ce7111c24f22ba0c8622480fe9a6339f702 Author: Yoshihiro Takahashi AuthorDate: 2021-04-09 14:56:27 +0000 Commit: Rene Ladan CommitDate: 2021-04-09 15:09:16 +0000 x11/xmascot: clean up port - fix build with -fno-common and un-expire - set LICENSE - fix parallel build - move to MASTER_SITE of submitter Add entry to LEGAL Submitter becomes maintainer PR: 249011 MFH: 2021Q2 (cherry picked from commit ffce9c1d6dfcfacb319eed3c02c2d2dc4f44bd46) --- LEGAL | 1 + x11/xmascot/Makefile | 42 ++++++++++++++++++++----------------- x11/xmascot/distinfo | 5 +++-- x11/xmascot/files/patch-config.tmpl | 10 --------- x11/xmascot/pkg-plist | 2 ++ 5 files changed, 29 insertions(+), 31 deletions(-) diff --git a/LEGAL b/LEGAL index 41b2abf6d641..a7faa6aa50a1 100644 --- a/LEGAL +++ b/LEGAL @@ -147,6 +147,7 @@ NetComponents-* java/netcomponents No redistribution except as part of a substa nntpcache-* news/nntpcache Free for individuals and non-military, non-profit organisations only nttcp-* benchmarks/nttcp No commercial use nwresources*.tar.gz games/nwndata Distribution not allowed +nyan--xmascot-* x11/xmascot Commercial use is prohibited oneko-*.tar.gz games/oneko-sakura Including derivatives from CARDCAPTOR SAKURA OptimFROG* audio/optimfrog No commercial use oracle/* databases/jdbc-oracle11g This software is under license and export controls diff --git a/x11/xmascot/Makefile b/x11/xmascot/Makefile index 0d3b09ebfde2..3fdba7ad882c 100644 --- a/x11/xmascot/Makefile +++ b/x11/xmascot/Makefile @@ -1,33 +1,37 @@ # Created by: Yukihiro Nakai PORTNAME= xmascot -PORTVERSION= 2.6a -PORTREVISION= 4 +PORTVERSION= 2.6a.20200830 +DISTVERSIONPREFIX= v CATEGORIES= x11 -MASTER_SITES= http://cclub-flying.dsl.gr.jp/products/xmascot/ -DISTNAME= ${PORTNAME}${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= nyan@FreeBSD.org COMMENT= Moving mascot on your X11 screen -# Fix build with -fno-common (llvm 11) -CFLAGS+= -fcommon +LICENSE= UNKNOWN +LICENSE_NAME= XMascot +LICENSE_FILE= ${WRKSRC}/README.jp +LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept -DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11). -EXPIRATION_DATE=2021-04-01 - -USES= imake xorg +USES= iconv:build imake xorg USE_XORG= ice sm x11 xaw xext xmu xpm xt -MAKE_ARGS= MAKE="${MAKE_CMD}" +USE_GITHUB= yes +GH_ACCOUNT= nyan- + +OPTIONS_DEFINE= DOCS -# Unbreak parallel (-jX) builds: do not use unsafe MakeSubdirs() macro -post-patch: - @${REINPLACE_CMD} -e 's/MakeSubdirs(/Named&$$(IMAGELIB),/' \ - ${WRKSRC}/Imakefile +X11_LIBDIR= ${STAGEDIR}${PREFIX}/lib/X11 post-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/ja_JP.EUC/app-defaults - ${INSTALL_DATA} ${STAGEDIR}${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults/XMascot \ - ${STAGEDIR}${PREFIX}/lib/X11/ja_JP.EUC/app-defaults + @${MKDIR} ${X11_LIBDIR}/ja_JP.EUC/app-defaults + ${INSTALL_DATA} ${X11_LIBDIR}/ja_JP.eucJP/app-defaults/XMascot \ + ${X11_LIBDIR}/ja_JP.EUC/app-defaults + @${MKDIR} ${X11_LIBDIR}/ja_JP.UTF-8/app-defaults + ${ICONV_CMD} -f euc-jp -t utf-8 ${X11_LIBDIR}/ja_JP.eucJP/app-defaults/XMascot > \ + ${X11_LIBDIR}/ja_JP.UTF-8/app-defaults/XMascot + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${LICENSE_FILE} ${STAGEDIR}${DOCSDIR} .include diff --git a/x11/xmascot/distinfo b/x11/xmascot/distinfo index 70fe45b30815..6fee534aa7d6 100644 --- a/x11/xmascot/distinfo +++ b/x11/xmascot/distinfo @@ -1,2 +1,3 @@ -SHA256 (xmascot2.6a.tar.gz) = 2eb66d97987217fbf7579b6bb96bdb19380e1389965758e8b4d022841c247773 -SIZE (xmascot2.6a.tar.gz) = 238536 +TIMESTAMP = 1598758757 +SHA256 (nyan--xmascot-v2.6a.20200830_GH0.tar.gz) = 8dd041f7b3befee147979a0251db53dd9fab26e866b436bc8b4aa8bdc16ca30d +SIZE (nyan--xmascot-v2.6a.20200830_GH0.tar.gz) = 197945 diff --git a/x11/xmascot/files/patch-config.tmpl b/x11/xmascot/files/patch-config.tmpl deleted file mode 100644 index eafaddf1910e..000000000000 --- a/x11/xmascot/files/patch-config.tmpl +++ /dev/null @@ -1,10 +0,0 @@ ---- config.tmpl.orig Fri Oct 24 01:41:01 1997 -+++ config.tmpl Sat Jun 8 11:33:39 JST 2002 -@@ -97,6 +97,7 @@ - - #ifdef USE_I18N - DEFINES_I18N = -DI18N -+LANG = ja_JP.eucJP - LOCALEDIR = $(LIBDIR)/$(LANG)/app-defaults - #else - DEFINES_I18N = diff --git a/x11/xmascot/pkg-plist b/x11/xmascot/pkg-plist index 8f53551c399a..026507ec24a6 100644 --- a/x11/xmascot/pkg-plist +++ b/x11/xmascot/pkg-plist @@ -2,6 +2,7 @@ bin/xmascot lib/X11/app-defaults/XMascot lib/X11/ja_JP.EUC/app-defaults/XMascot lib/X11/ja_JP.eucJP/app-defaults/XMascot +lib/X11/ja_JP.UTF-8/app-defaults/XMascot lib/X11/xmascot/aquarius.gif lib/X11/xmascot/aries.gif lib/X11/xmascot/canser.gif @@ -44,3 +45,4 @@ lib/X11/xmascot/virgo.gif lib/X11/xmascot/yubi.xbm lib/X11/xmascot/yubi.xbmmsk man/man1/xmascot.1.gz +%%PORTDOCS%%%%DOCSDIR%%/README.jp