ports/185605: [MAINTAINER] Update x11/bgrot to 1.31
Matthew D.Fuller
fullermd at over-yonder.net
Thu Jan 9 11:40:00 UTC 2014
>Number: 185605
>Category: ports
>Synopsis: [MAINTAINER] Update x11/bgrot to 1.31
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 09 11:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Matthew D. Fuller
>Release: FreeBSD 9.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD draco.over-yonder.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r251584: Sun Jun 9 14:23:33 CDT 2013 root at draco.over-yonder.net:/usr/obj/usr/src/sys/DRACO amd64
>Description:
New upstream release to clean up build system and enable staging
support.
>How-To-Repeat:
>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.
Index: Makefile
===================================================================
--- Makefile (revision 339214)
+++ Makefile (working copy)
@@ -2,8 +2,7 @@
# $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/
@@ -11,16 +10,13 @@
MAINTAINER= fullermd at over-yonder.net
COMMENT= A program to handle your X background to prevent boredom
+LICENSE= BSD2CLAUSE
+
RUN_DEPENDS= xv:${PORTSDIR}/graphics/xv
USES= shebangfix perl5
SHEBANG_FILES= *.pl
-MAN1= bgrot.1
-MANCOMPRESSED= yes
+MAKE_ARGS= IPREFIX=${STAGEDIR}${PREFIX}
-NO_STAGE= yes
-post-install:
- @${CAT} pkg-message
-
.include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo (revision 339214)
+++ distinfo (working copy)
@@ -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
Index: files/patch-Makefile
===================================================================
--- files/patch-Makefile (revision 339214)
+++ files/patch-Makefile (working copy)
@@ -1,45 +0,0 @@
---- Makefile.orig Wed Jun 21 05:50:30 2000
-+++ Makefile Fri Nov 25 17:13:07 2005
-@@ -4,12 +4,13 @@
- # Written by Matthew Fuller <fullermd at over-yonder.net>
-
- # OK, first: config stuff
-+PREFIX ?= /usr/local
-
- # BINDIR: Where the programs are
--BINDIR = /usr/local/bin
-+BINDIR = ${PREFIX}/bin
-
- # CONFDIR: Where the system-wide config goes
--CONFDIR = /usr/local/etc
-+CONFDIR = ${PREFIX}/etc
-
- # DIRMODE: Permission bits for directories
- # FILEMODE: Permission bits for files
-@@ -22,7 +23,7 @@
- BINGRP = bin
-
- # MANDIR: Where is your manpage base?
--MANDIR = /usr/local/man
-+MANDIR = ${PREFIX}/man
-
- # OK, that's about it for user stuff
- # Touch the rest of this file at your own risk
-@@ -52,7 +53,7 @@
- .endif
- @echo Installing files...
- -install -o ${BINOWN} -g ${BINGRP} -m ${FILEMODE} -c ${INSTALLFILES} ${BINDIR}
-- -install -o ${BINOWN} -g ${BINGRP} -m ${FILEMODE} -c bgrot.conf ${CONFDIR}
-+ -install -o ${BINOWN} -g ${BINGRP} -m ${FILEMODE} -c bgrot.conf.skel ${CONFDIR}
- @echo Compressing manpage...
- @gzip -c bgrot.1 > bgrot.1.gz
- @echo Installing manpage...
-@@ -88,7 +89,7 @@
- rm -f ${BINDIR}/$${entry}; \
- done
- @echo Uninstalling configuration...
-- @rm -f ${CONFDIR}/bgrot.conf
-+ @rm -f ${CONFDIR}/bgrot.conf.skel
- @echo Uninstalling manpage...
- @rm -f ${MANDIR}/man1/bgrot.1.gz
- @echo Done.
Index: files/patch-setconfdir.pl
===================================================================
--- files/patch-setconfdir.pl (revision 339214)
+++ files/patch-setconfdir.pl (working copy)
@@ -1,13 +0,0 @@
---- setconfdir.pl.orig Fri Nov 25 17:15:32 2005
-+++ setconfdir.pl Fri Nov 25 17:15:44 2005
-@@ -16,8 +16,8 @@
-
- foreach(<SKEL>) {
- chomp;
-- if(/^\$CONFDIR\=/) {
-- $_ = "\$CONFDIR=\"$CONFDIR\"";
-+ if(/^\CONFDIR\=/) {
-+ $_ = "\CONFDIR=\"$CONFDIR\"";
- }
- print OUT "$_\n";
- }
Index: pkg-message
===================================================================
--- pkg-message (revision 339214)
+++ pkg-message (working copy)
@@ -1,3 +0,0 @@
-***
-*** Please copy ${PREFIX}/etc/bgrot.conf.skel to ${PREFIX}/etc/bgrot.conf
-***
Index: pkg-plist
===================================================================
--- pkg-plist (revision 339214)
+++ pkg-plist (working copy)
@@ -3,5 +3,7 @@
bin/createlist.sh
bin/masterlistgen.sh
bin/bgrotman.pl
-etc/bgrot.conf.skel
+ at 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
+ at exec if [ ! -f %D/etc/bgrot.conf ] ; then cp -p %D/%F %B/bgrot.conf; fi
man/man1/bgrot.1.gz
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list