Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2015 16:09:58 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395109 - in head/sysutils/detox: . files
Message-ID:  <201508231609.t7NG9wxs087075@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Aug 23 16:09:58 2015
New Revision: 395109
URL: https://svnweb.freebsd.org/changeset/ports/395109

Log:
  - Add LICENSE
  - Strip binaries
  - Modernize plist
  - Regenerate patches with `make makepatch`

Modified:
  head/sysutils/detox/Makefile
  head/sysutils/detox/files/patch-Makefile.in
  head/sysutils/detox/pkg-plist

Modified: head/sysutils/detox/Makefile
==============================================================================
--- head/sysutils/detox/Makefile	Sun Aug 23 16:09:47 2015	(r395108)
+++ head/sysutils/detox/Makefile	Sun Aug 23 16:09:58 2015	(r395109)
@@ -3,16 +3,21 @@
 
 PORTNAME=	detox
 PORTVERSION=	1.2.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Removes non-standard characters from filenames
 
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
 USES=		gmake tar:bzip2
 GNU_CONFIGURE=	yes
 
-LICENSE=	BSD3CLAUSE
-LICENSE_FILE=	${WRKSRC}/LICENSE
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/detox
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/inline-detox
 
 .include <bsd.port.mk>

Modified: head/sysutils/detox/files/patch-Makefile.in
==============================================================================
--- head/sysutils/detox/files/patch-Makefile.in	Sun Aug 23 16:09:47 2015	(r395108)
+++ head/sysutils/detox/files/patch-Makefile.in	Sun Aug 23 16:09:58 2015	(r395109)
@@ -1,6 +1,6 @@
---- Makefile.in.orig	Sun Mar 13 02:25:54 2005
-+++ Makefile.in	Sun Mar 13 02:26:11 2005
-@@ -92,7 +92,7 @@
+--- Makefile.in.orig	2008-04-12 01:02:47 UTC
++++ Makefile.in
+@@ -116,7 +116,7 @@ detox.o: detox.c detox_path.h
  # Actions
  #
  

Modified: head/sysutils/detox/pkg-plist
==============================================================================
--- head/sysutils/detox/pkg-plist	Sun Aug 23 16:09:47 2015	(r395108)
+++ head/sysutils/detox/pkg-plist	Sun Aug 23 16:09:58 2015	(r395109)
@@ -1,14 +1,8 @@
 bin/detox
 bin/inline-detox
-@unexec if cmp -s %D/etc/detoxrc %D/etc/detoxrc.sample; then rm -f %D/etc/detoxrc; fi
-etc/detoxrc.sample
-@exec [ -f %D/etc/detoxrc ] || cp %B/%f %D/etc/detoxrc
-@unexec if cmp -s %D/%%DATADIR%%/iso8859_1.tbl %D/%%DATADIR%%/iso8859_1.tbl.sample; then rm -f %D/%%DATADIR%%/iso8859_1.tbl; fi
-%%DATADIR%%/iso8859_1.tbl.sample
-@exec [ -f %D/%%DATADIR%%/iso8859_1.tbl ] || cp %B/%f %D/%%DATADIR%%/iso8859_1.tbl
-@unexec if cmp -s %D/%%DATADIR%%/unicode.tbl %D/%%DATADIR%%/unicode.tbl.sample; then rm -f %D/%%DATADIR%%/unicode.tbl; fi
-%%DATADIR%%/unicode.tbl.sample
-@exec [ -f %D/%%DATADIR%%/unicode.tbl ] || cp %B/%f %D/%%DATADIR%%/unicode.tbl
+@sample etc/detoxrc.sample
+@sample %%DATADIR%%/iso8859_1.tbl.sample
+@sample %%DATADIR%%/unicode.tbl.sample
 man/man1/detox.1.gz
 man/man5/detox.tbl.5.gz
 man/man5/detoxrc.5.gz



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