Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2012 17:36:45 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306875 - head/sysutils/safecat
Message-ID:  <201211021736.qA2HajFN070262@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Nov  2 17:36:45 2012
New Revision: 306875
URL: http://svn.freebsd.org/changeset/ports/306875

Log:
  - Update MASTER_SITES and WWW: line
  - Add LICENSE
  - Add MAKE_JOBS_UNSAFE
  - Switch to PLIST_FILES
  
  While here:
  - Correct COMMENT's length
  - Fix build with clang
  
  PR:		ports/172253
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
  Feature safe:	yes

Deleted:
  head/sysutils/safecat/pkg-plist
Modified:
  head/sysutils/safecat/Makefile
  head/sysutils/safecat/pkg-descr

Modified: head/sysutils/safecat/Makefile
==============================================================================
--- head/sysutils/safecat/Makefile	Fri Nov  2 17:20:55 2012	(r306874)
+++ head/sysutils/safecat/Makefile	Fri Nov  2 17:36:45 2012	(r306875)
@@ -1,30 +1,31 @@
-# New ports collection makefile for:	safecat
-# Date created:		27 November 2000
-# Whom:			roam@FreeBSD.org
-#
+# Created by: roam@FreeBSD.org
 # $FreeBSD$
-#
 
 PORTNAME=	safecat
 PORTVERSION=	1.13
 CATEGORIES=	sysutils mail
-MASTER_SITES=	http://jeenyus.net/~budney/linux/software/safecat/ \
-		${MASTER_SITE_LOCAL:S/local-distfiles/local-distfiles\/roam/} \
-		${MASTER_SITE_SUNSITE} \
+MASTER_SITES=	http://www.jeenyus.net/linux/software/safecat/ \
+		LOCAL/roam/sysutils/safecat \
 		http://people.FreeBSD.org/~roam/ports/sysutils/safecat/
-MASTER_SITE_SUBDIR=	utils/file
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Safely write data to a directory using D. J. Bernstein's Maildir ideology
+COMMENT=	Safely write data to maildir directory
 
-MAN1=		safecat.1 maildir.1
-
-do-configure:
-		${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," ${WRKSRC}/conf-root
-		${REINPLACE_CMD} -e "s,cc -O2,${CC} ${CFLAGS}," ${WRKSRC}/conf-cc
-		${REINPLACE_CMD} -e "s,cc -s,${CC} ${CFLAGS} ${STRIP}," ${WRKSRC}/conf-ld
+LICENSE=	BSD
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 ALL_TARGET=	it
 INSTALL_TARGET=	setup check
+MAKE_JOBS_UNSAFE=yes
+
+MAN1=		maildir.1 safecat.1
+PLIST_FILES=	bin/maildir bin/safecat
+
+post-patch:
+	@${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," ${WRKSRC}/conf-root
+	@${REINPLACE_CMD} -e "s,cc -O2,${CC} ${CFLAGS}," ${WRKSRC}/conf-cc
+	@${REINPLACE_CMD} -e "s,cc -s,${CC} ${CFLAGS} ${STRIP}," ${WRKSRC}/conf-ld
+	@${REINPLACE_CMD} 's|void main|int main|' \
+		${WRKSRC}/install.c ${WRKSRC}/auto-str.c
 
 .include <bsd.port.mk>

Modified: head/sysutils/safecat/pkg-descr
==============================================================================
--- head/sysutils/safecat/pkg-descr	Fri Nov  2 17:20:55 2012	(r306874)
+++ head/sysutils/safecat/pkg-descr	Fri Nov  2 17:36:45 2012	(r306875)
@@ -16,5 +16,5 @@ From the safecat README:
   possible. However, safecat takes every precaution possible in writing
   your data.
 
-Author:		Len Budney <lbudney@pobox.com>
-WWW:		http://www.pobox.com/~lbudney/linux/software/safecat.html
+Author: Len Budney <lbudney@pobox.com>
+WWW: http://www.jeenyus.net/linux/software/safecat.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211021736.qA2HajFN070262>