diff options
author | dbaio <dbaio@FreeBSD.org> | 2017-05-31 08:00:13 +0800 |
---|---|---|
committer | dbaio <dbaio@FreeBSD.org> | 2017-05-31 08:00:13 +0800 |
commit | a30ba57170a28f0d9881832f9b7e7269ac7cd623 (patch) | |
tree | 4ad559b5eed47cd2faa6a15e852e06e1d659cc3b | |
parent | ee14fa85775cb5ac1861f04f11dcf09bb4414bd2 (diff) | |
download | freebsd-ports-gnome-a30ba57170a28f0d9881832f9b7e7269ac7cd623.tar.gz freebsd-ports-gnome-a30ba57170a28f0d9881832f9b7e7269ac7cd623.tar.zst freebsd-ports-gnome-a30ba57170a28f0d9881832f9b7e7269ac7cd623.zip |
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
-rw-r--r-- | misc/grc/Makefile | 9 | ||||
-rw-r--r-- | misc/grc/distinfo | 5 | ||||
-rw-r--r-- | misc/grc/pkg-plist | 51 |
3 files changed, 59 insertions, 6 deletions
diff --git a/misc/grc/Makefile b/misc/grc/Makefile index a596d1b3e751..9de80347a8df 100644 --- a/misc/grc/Makefile +++ b/misc/grc/Makefile @@ -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> diff --git a/misc/grc/distinfo b/misc/grc/distinfo index 3cb2314f2a7b..6c475185c99a 100644 --- a/misc/grc/distinfo +++ b/misc/grc/distinfo @@ -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 diff --git a/misc/grc/pkg-plist b/misc/grc/pkg-plist index 252456783f1c..37d6a974be0a 100644 --- a/misc/grc/pkg-plist +++ b/misc/grc/pkg-plist @@ -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 |