misc/grc: Update to 1.11.1

1.11.1
    better error handling if command is not found
  1.11
    source directory cleanup
    several new configuration files and improvements
  1.10.1
    make bash aliases more compatible with other shells and with MacOSX
  1.10
    many new configuration files
    python3 support

While here, adjust license and set architecture neutral.

PR:		219599
Submitted by:	Walter Hop <walter@lifeforms.nl> (maintainer)
Approved by:	garga (mentor)
Differential Revision:	https://reviews.freebsd.org/D10966
This commit is contained in:
Danilo G. Baio 2017-05-31 00:00:13 +00:00
parent a8b5fb22cd
commit 9849dced25
3 changed files with 59 additions and 6 deletions

View file

@ -2,20 +2,22 @@
# $FreeBSD$
PORTNAME= grc
PORTVERSION= 1.9
PORTVERSION= 1.11.1
DISTVERSIONPREFIX= v
CATEGORIES= misc
MAINTAINER= walter@lifeforms.nl
COMMENT= Generic Colouriser
LICENSE= GPLv2
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= garabik
NO_BUILD= yes
NO_ARCH= yes
USES= python:run shebangfix
SHEBANG_FILES= grc grcat
@ -24,6 +26,7 @@ post-patch:
@${REINPLACE_CMD} -e \
's|"/etc/grc|"${PREFIX}/etc/grc|g ; \
s|/usr/local/share/grc|${DATADIR}|g ; \
s|#! /usr/bin/env python3|#!${PYTHON_CMD}| ; \
s|, "/usr/share/grc/"||g' ${WRKSRC}/${i}
@${REINPLACE_CMD} -e \
's| /etc/grc| ${PREFIX}/etc/grc|g ; \
@ -38,6 +41,6 @@ do-install:
.endfor
(cd ${WRKSRC} && ${INSTALL_DATA} grc.conf ${STAGEDIR}${PREFIX}/etc)
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${INSTALL_DATA} conf.* ${STAGEDIR}${DATADIR})
(cd ${WRKSRC} && ${INSTALL_DATA} colourfiles/conf.* ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>

View file

@ -1,2 +1,3 @@
SHA256 (garabik-grc-v1.9_GH0.tar.gz) = 269ab717dc105c124f6eb48b4b8d3ab68660c0f1244eaea140f0188cb9af4b80
SIZE (garabik-grc-v1.9_GH0.tar.gz) = 29252
TIMESTAMP = 1495893307
SHA256 (garabik-grc-v1.11.1_GH0.tar.gz) = 9ae4bcc9186d6856e861d5b0e29b7b14db3f14e6b643e2df0076c104a94dbcba
SIZE (garabik-grc-v1.11.1_GH0.tar.gz) = 43289

View file

@ -3,25 +3,74 @@ bin/grcat
etc/grc.conf
man/man1/grc.1.gz
man/man1/grcat.1.gz
%%DATADIR%%/conf.ant
%%DATADIR%%/conf.blkid
%%DATADIR%%/conf.configure
%%DATADIR%%/conf.cvs
%%DATADIR%%/conf.df
%%DATADIR%%/conf.diff
%%DATADIR%%/conf.dig
%%DATADIR%%/conf.dnf
%%DATADIR%%/conf.docker-machinels
%%DATADIR%%/conf.dockerimages
%%DATADIR%%/conf.dockerinfo
%%DATADIR%%/conf.dockernetwork
%%DATADIR%%/conf.dockerps
%%DATADIR%%/conf.dockerpull
%%DATADIR%%/conf.dockersearch
%%DATADIR%%/conf.dockerversion
%%DATADIR%%/conf.du
%%DATADIR%%/conf.env
%%DATADIR%%/conf.esperanto
%%DATADIR%%/conf.fdisk
%%DATADIR%%/conf.findmnt
%%DATADIR%%/conf.free
%%DATADIR%%/conf.gcc
%%DATADIR%%/conf.getfacl
%%DATADIR%%/conf.getsebool
%%DATADIR%%/conf.id
%%DATADIR%%/conf.ifconfig
%%DATADIR%%/conf.iostat_sar
%%DATADIR%%/conf.ip
%%DATADIR%%/conf.ipaddr
%%DATADIR%%/conf.ipneighbor
%%DATADIR%%/conf.iproute
%%DATADIR%%/conf.iptables
%%DATADIR%%/conf.irclog
%%DATADIR%%/conf.last
%%DATADIR%%/conf.ldap
%%DATADIR%%/conf.log
%%DATADIR%%/conf.ls
%%DATADIR%%/conf.lsattr
%%DATADIR%%/conf.lsblk
%%DATADIR%%/conf.lsmod
%%DATADIR%%/conf.lsof
%%DATADIR%%/conf.lspci
%%DATADIR%%/conf.mount
%%DATADIR%%/conf.mount2
%%DATADIR%%/conf.mount.old
%%DATADIR%%/conf.mtr
%%DATADIR%%/conf.mvn
%%DATADIR%%/conf.netstat
%%DATADIR%%/conf.nmap
%%DATADIR%%/conf.php
%%DATADIR%%/conf.ping
%%DATADIR%%/conf.ping2
%%DATADIR%%/conf.proftpd
%%DATADIR%%/conf.ps
%%DATADIR%%/conf.pv
%%DATADIR%%/conf.semanageboolean
%%DATADIR%%/conf.semanagefcontext
%%DATADIR%%/conf.semanageuser
%%DATADIR%%/conf.showmount
%%DATADIR%%/conf.sql
%%DATADIR%%/conf.ss
%%DATADIR%%/conf.stat
%%DATADIR%%/conf.sysctl
%%DATADIR%%/conf.systemctl
%%DATADIR%%/conf.tcpdump
%%DATADIR%%/conf.traceroute
%%DATADIR%%/conf.tune2fs
%%DATADIR%%/conf.ulimit
%%DATADIR%%/conf.uptime
%%DATADIR%%/conf.vmstat
%%DATADIR%%/conf.wdiff