svn commit: r395109 - in head/sysutils/detox: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Aug 23 16:09:59 UTC 2015
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 at 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
- at unexec if cmp -s %D/etc/detoxrc %D/etc/detoxrc.sample; then rm -f %D/etc/detoxrc; fi
-etc/detoxrc.sample
- at exec [ -f %D/etc/detoxrc ] || cp %B/%f %D/etc/detoxrc
- at 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
- at exec [ -f %D/%%DATADIR%%/iso8859_1.tbl ] || cp %B/%f %D/%%DATADIR%%/iso8859_1.tbl
- at 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
- at exec [ -f %D/%%DATADIR%%/unicode.tbl ] || cp %B/%f %D/%%DATADIR%%/unicode.tbl
+ at sample etc/detoxrc.sample
+ at sample %%DATADIR%%/iso8859_1.tbl.sample
+ at sample %%DATADIR%%/unicode.tbl.sample
man/man1/detox.1.gz
man/man5/detox.tbl.5.gz
man/man5/detoxrc.5.gz
More information about the svn-ports-all
mailing list