Bug 185605 - [MAINTAINER] Update x11/bgrot to 1.31
Summary: [MAINTAINER] Update x11/bgrot to 1.31
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-09 11:40 UTC by fullermd
Modified: 2014-01-09 15:00 UTC (History)
0 users

See Also:


Attachments
file.diff (3.87 KB, patch)
2014-01-09 11:40 UTC, fullermd
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fullermd 2014-01-09 11:40:00 UTC
	New upstream release to clean up build system and enable staging
	support.

Fix: Notes:

1) Note that files/ and pkg-message file are removed completely

2) I vaguely understand that the @exec/@unexec in plist aren't Proper(tm)
   for pkgng, but it's what's documented in the Handbook, so it's what I
   went with.
Comment 1 dfilter service freebsd_committer freebsd_triage 2014-01-09 14:56:17 UTC
Author: bapt
Date: Thu Jan  9 14:56:09 2014
New Revision: 339247
URL: http://svnweb.freebsd.org/changeset/ports/339247

Log:
  Update to 1.31
  Handle the configuration file directly in plist
  
  PR:		ports/185605
  Submitted by:	Matthew D.Fuller <fullermd@over-yonder.net> (maintainer)

Deleted:
  head/x11/bgrot/files/patch-Makefile
  head/x11/bgrot/files/patch-setconfdir.pl
  head/x11/bgrot/pkg-message
Modified:
  head/x11/bgrot/Makefile
  head/x11/bgrot/distinfo
  head/x11/bgrot/pkg-plist

Modified: head/x11/bgrot/Makefile
==============================================================================
--- head/x11/bgrot/Makefile	Thu Jan  9 14:49:45 2014	(r339246)
+++ head/x11/bgrot/Makefile	Thu Jan  9 14:56:09 2014	(r339247)
@@ -2,18 +2,21 @@
 # $FreeBSD$
 
 PORTNAME=	bgrot
-PORTVERSION=	1.30
-PORTREVISION=	7
+PORTVERSION=	1.31
 CATEGORIES=	x11
 MASTER_SITES=	http://www.over-yonder.net/~fullermd/projects/bgrot/ \
 		http://distfiles.over-yonder.net/bgrot/
 
 MAINTAINER=	fullermd@over-yonder.net
-COMMENT=	A program to handle your X background to prevent boredom
+COMMENT=	Program to handle your X background to prevent boredom
+
+LICENSE=	BSD2CLAUSE
 
 RUN_DEPENDS=	xv:${PORTSDIR}/graphics/xv
 
 USES=		shebangfix perl5
 SHEBANG_FILES=	*.pl
 
+MAKE_ARGS=	IPREFIX=${STAGEDIR}${PREFIX}
+
 .include <bsd.port.mk>

Modified: head/x11/bgrot/distinfo
==============================================================================
--- head/x11/bgrot/distinfo	Thu Jan  9 14:49:45 2014	(r339246)
+++ head/x11/bgrot/distinfo	Thu Jan  9 14:56:09 2014	(r339247)
@@ -1,2 +1,2 @@
-SHA256 (bgrot-1.30.tar.gz) = e9cac2280bb57119df15eb78b412066f7e6b4c8eaf9c5bc9aa3df4f4a36ca791
-SIZE (bgrot-1.30.tar.gz) = 6567
+SHA256 (bgrot-1.31.tar.gz) = e4f625b6e8f064532ed2c921e80219db7b33c9fe7b54e7ab40fe9fc0bb175ccc
+SIZE (bgrot-1.31.tar.gz) = 6867

Modified: head/x11/bgrot/pkg-plist
==============================================================================
--- head/x11/bgrot/pkg-plist	Thu Jan  9 14:49:45 2014	(r339246)
+++ head/x11/bgrot/pkg-plist	Thu Jan  9 14:56:09 2014	(r339247)
@@ -3,5 +3,7 @@ bin/bgrandom.pl
 bin/bgrotman.pl
 bin/createlist.sh
 bin/masterlistgen.sh
-etc/bgrot.conf.skel
+@unexec if cmp -s %D/etc/bgrot.conf.sample %D/etc/bgrot.conf; then rm -f %D/etc/bgrot.conf; fi
+etc/bgrot.conf.sample
+@exec if [ ! -f %D/etc/bgrot.conf ] ; then cp -p %D/%F %B/bgrot.conf; fi
 man/man1/bgrot.1.gz
_______________________________________________
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"
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2014-01-09 14:57:00 UTC
State Changed
From-To: open->closed

Concerning @exec/@unexec until we drop support for pkg_install it is 
still there, so it is ok like you did. Committed thanks!