Bug 181892 - misc/grc: Update to version 1.5
Summary: misc/grc: Update to version 1.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-06 19:10 UTC by tkato432
Modified: 2013-10-29 21:50 UTC (History)
0 users

See Also:


Attachments
file.diff (2.86 KB, patch)
2013-09-06 19:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-09-06 19:10:06 UTC
- Update to version 1.5
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-06 19:10:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Bryan Drewery freebsd_committer freebsd_triage 2013-09-22 15:12:06 UTC
Responsible Changed
From-To: miwi->freebsd-ports-bugs

Back to the heap due to timeout
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2013-10-29 21:35:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 4 Pawel Pekala freebsd_committer freebsd_triage 2013-10-29 21:45:22 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-10-29 21:45:25 UTC
Author: pawel
Date: Tue Oct 29 21:45:12 2013
New Revision: 332014
URL: http://svnweb.freebsd.org/changeset/ports/332014

Log:
  - Update to version 1.5 [1]
  - Add support for STAGEDIR
  
  PR:		ports/181892 [1]
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Modified:
  head/misc/grc/Makefile   (contents, props changed)
  head/misc/grc/distinfo   (contents, props changed)
  head/misc/grc/pkg-plist   (contents, props changed)

Modified: head/misc/grc/Makefile
==============================================================================
--- head/misc/grc/Makefile	Tue Oct 29 21:42:46 2013	(r332013)
+++ head/misc/grc/Makefile	Tue Oct 29 21:45:12 2013	(r332014)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	grc
-PORTVERSION=	1.4
+PORTVERSION=	1.5
 CATEGORIES=	misc
 MASTER_SITES=	http://kassiopeia.juls.savba.sk/~garabik/software/grc/
 DISTNAME=	${PORTNAME}_${PORTVERSION}
@@ -10,19 +10,19 @@ DISTNAME=	${PORTNAME}_${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Generic Colouriser
 
+LICENSE=	GPLv2
+
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 NO_BUILD=	yes
 
+USES=		shebangfix
+SHEBANG_FILES=	grc grcat
 USE_PYTHON_RUN=	yes
 
-MAN1=	grc.1 grcat.1
-
-NO_STAGE=	yes
 post-patch:
 .for i in grc grcat
 	@${REINPLACE_CMD} -e \
-		's|/usr/bin/python|${SETENV} python|g ; \
-		 s|"/etc/grc|"${PREFIX}/etc/grc|g ; \
+		's|"/etc/grc|"${PREFIX}/etc/grc|g ; \
 		 s|/usr/local/share/grc|${DATADIR}|g ; \
 		 s|, "/usr/share/grc/"||g' ${WRKSRC}/${i}
 	@${REINPLACE_CMD} -e \
@@ -33,11 +33,11 @@ post-patch:
 
 do-install:
 .for i in grc grcat
-	${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${i}.1 ${MAN1PREFIX}/man/man1
+	(cd ${WRKSRC} && ${INSTALL_SCRIPT} ${i} ${STAGEDIR}${PREFIX}/bin)
+	(cd ${WRKSRC} && ${INSTALL_MAN} ${i}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1)
 .endfor
-	@${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/conf.* ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/grc.conf ${PREFIX}/etc
+	(cd ${WRKSRC} && ${INSTALL_DATA} grc.conf ${STAGEDIR}${PREFIX}/etc)
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} conf.* ${STAGEDIR}${DATADIR})
 
 .include <bsd.port.mk>

Modified: head/misc/grc/distinfo
==============================================================================
--- head/misc/grc/distinfo	Tue Oct 29 21:42:46 2013	(r332013)
+++ head/misc/grc/distinfo	Tue Oct 29 21:45:12 2013	(r332014)
@@ -1,2 +1,2 @@
-SHA256 (grc_1.4.tar.gz) = bbfdc5ee074a857a8cff52f4b1941527c1dd192e1c2b45f69c624ce9fad4f4d0
-SIZE (grc_1.4.tar.gz) = 24302
+SHA256 (grc_1.5.tar.gz) = a2581f065236868bd8b09536616a588792f60fcba4e54d69e2cad65aae73dddc
+SIZE (grc_1.5.tar.gz) = 26363

Modified: head/misc/grc/pkg-plist
==============================================================================
--- head/misc/grc/pkg-plist	Tue Oct 29 21:42:46 2013	(r332013)
+++ head/misc/grc/pkg-plist	Tue Oct 29 21:45:12 2013	(r332014)
@@ -1,17 +1,26 @@
 bin/grc
 bin/grcat
 etc/grc.conf
+man/man1/grc.1.gz
+man/man1/grcat.1.gz
 %%DATADIR%%/conf.configure
 %%DATADIR%%/conf.cvs
 %%DATADIR%%/conf.diff
+%%DATADIR%%/conf.dig
 %%DATADIR%%/conf.esperanto
 %%DATADIR%%/conf.gcc
+%%DATADIR%%/conf.ifconfig
 %%DATADIR%%/conf.irclog
 %%DATADIR%%/conf.ldap
+%%DATADIR%%/conf.ls
 %%DATADIR%%/conf.log
+%%DATADIR%%/conf.mount
+%%DATADIR%%/conf.mount2
+%%DATADIR%%/conf.mtr
 %%DATADIR%%/conf.netstat
 %%DATADIR%%/conf.ping
 %%DATADIR%%/conf.proftpd
+%%DATADIR%%/conf.ps
 %%DATADIR%%/conf.traceroute
 %%DATADIR%%/conf.wdiff
 @dirrm %%DATADIR%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"