svn commit: r356819 - in head/mail/sigrot: . files

Pawel Pekala pawel at FreeBSD.org
Fri Jun 6 16:13:48 UTC 2014


Author: pawel
Date: Fri Jun  6 16:13:47 2014
New Revision: 356819
URL: http://svnweb.freebsd.org/changeset/ports/356819
QAT: https://qat.redports.org/buildarchive/r356819/

Log:
  - Add staging support
  - Use canonical name for patch

Added:
  head/mail/sigrot/files/patch-sigrot.c
     - copied unchanged from r356635, head/mail/sigrot/files/patch-ab
Deleted:
  head/mail/sigrot/files/patch-aa
  head/mail/sigrot/files/patch-ab
Modified:
  head/mail/sigrot/Makefile

Modified: head/mail/sigrot/Makefile
==============================================================================
--- head/mail/sigrot/Makefile	Fri Jun  6 15:59:38 2014	(r356818)
+++ head/mail/sigrot/Makefile	Fri Jun  6 16:13:47 2014	(r356819)
@@ -11,8 +11,9 @@ DISTNAME=	${PORTNAME}_v${PORTVERSION}
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Util to rotate your mail/news signature
 
-MAN1=		sigrot.1
-PLIST_FILES=	bin/sigrot
+MAKE_ARGS=	DEST="${STAGEDIR}${PREFIX}/bin" \
+		MANDEST="${STAGEDIR}${PREFIX}/man/man1"
+
+PLIST_FILES=	bin/sigrot man/man1/sigrot.1.gz
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Copied: head/mail/sigrot/files/patch-sigrot.c (from r356635, head/mail/sigrot/files/patch-ab)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/sigrot/files/patch-sigrot.c	Fri Jun  6 16:13:47 2014	(r356819, copy of r356635, head/mail/sigrot/files/patch-ab)
@@ -0,0 +1,15 @@
+--- sigrot.c.orig	Sat Apr  1 17:17:32 2000
++++ sigrot.c	Sat Apr  1 17:18:06 2000
+@@ -167,9 +167,10 @@
+   inFile=fopen(Next,"r");
+   if (inFile==NULL)
+     next=1;
+-  else
++  else {
+     fscanf(inFile,"%d",&next);
+-  fclose(inFile);
++    fclose(inFile);
++  }
+   return next;
+ }
+ 


More information about the svn-ports-head mailing list