svn commit: r363872 - head/sysutils/safecat

Pawel Pekala pawel at svn.freebsd.org
Sun Aug 3 10:18:38 UTC 2014


Author: pawel
Date: Sun Aug  3 10:18:37 2014
New Revision: 363872
URL: http://svnweb.freebsd.org/changeset/ports/363872
QAT: https://qat.redports.org/buildarchive/r363872/

Log:
  - Add staging support
  - More precise LICENSE
  - Remove Author tag from pkg-descr

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

Modified: head/sysutils/safecat/Makefile
==============================================================================
--- head/sysutils/safecat/Makefile	Sun Aug  3 10:16:42 2014	(r363871)
+++ head/sysutils/safecat/Makefile	Sun Aug  3 10:18:37 2014	(r363872)
@@ -11,22 +11,22 @@ MASTER_SITES=	http://www.jeenyus.net/lin
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Safely write data to maildir directory
 
-LICENSE=	BSD
+LICENSE=	BSD4CLAUSE
 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
+PLIST_FILES=	bin/maildir bin/safecat man/man1/maildir.1.gz \
+		man/man1/safecat.1.gz
 
-NO_STAGE=	yes
 post-patch:
-	@${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," ${WRKSRC}/conf-root
+	@${REINPLACE_CMD} -e "s,/usr/local,${STAGEDIR}${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
+	@${REINPLACE_CMD} 's|HOME|${PREFIX}|' ${WRKSRC}/maildir.sh
 
 .include <bsd.port.mk>

Modified: head/sysutils/safecat/pkg-descr
==============================================================================
--- head/sysutils/safecat/pkg-descr	Sun Aug  3 10:16:42 2014	(r363871)
+++ head/sysutils/safecat/pkg-descr	Sun Aug  3 10:18:37 2014	(r363872)
@@ -16,5 +16,4 @@ From the safecat README:
   possible. However, safecat takes every precaution possible in writing
   your data.
 
-Author: Len Budney <lbudney at pobox.com>
 WWW: http://www.jeenyus.net/linux/software/safecat.html


More information about the svn-ports-all mailing list