aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-23 16:09:58 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-23 16:09:58 +0000
commit1c472f887009a39c384ddb64f8f8d7322522c368 (patch)
tree9ccccf988322fb0981dd76a54f0e75a5566a7c2a /sysutils
parent6902487fc19834f30237f33a8932d37b640f57d5 (diff)
downloadports-1c472f887009a39c384ddb64f8f8d7322522c368.tar.gz
ports-1c472f887009a39c384ddb64f8f8d7322522c368.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/detox/Makefile9
-rw-r--r--sysutils/detox/files/patch-Makefile.in6
-rw-r--r--sysutils/detox/pkg-plist12
3 files changed, 13 insertions, 14 deletions
diff --git a/sysutils/detox/Makefile b/sysutils/detox/Makefile
index 6fe8b1aa2e37..229526b58036 100644
--- a/sysutils/detox/Makefile
+++ b/sysutils/detox/Makefile
@@ -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>
diff --git a/sysutils/detox/files/patch-Makefile.in b/sysutils/detox/files/patch-Makefile.in
index d8cb7f1aa361..10af08b6bec1 100644
--- a/sysutils/detox/files/patch-Makefile.in
+++ b/sysutils/detox/files/patch-Makefile.in
@@ -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
#
diff --git a/sysutils/detox/pkg-plist b/sysutils/detox/pkg-plist
index d8e3d230c7d9..2c557f72ee54 100644
--- a/sysutils/detox/pkg-plist
+++ b/sysutils/detox/pkg-plist
@@ -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