ports/189662: Staging support for sysutils/samefile, shar inside
Jens Schweikhardt
schweikh at schweikhardt.net
Sun May 11 12:50:01 UTC 2014
>Number: 189662
>Category: ports
>Synopsis: Staging support for sysutils/samefile, shar inside
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun May 11 12:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Jens Schweikhardt
>Release: FreeBSD 10.0-STABLE amd64
>Organization:
Digital Details
>Environment:
System: FreeBSD hal9k.schweikhardt.net 10.0-STABLE FreeBSD 10.0-STABLE #0 r264981: Sat Apr 26 21:44:18 CEST 2014 toor at hal9k.schweikhardt.net:/home/root/FreeBSD/stable/10/obj/home/root/FreeBSD/stable/10/src/sys/HAL9000 amd64
>Description:
Add staging support for sysutils/samefile. Tested with
env DEVELOPER=yes make stage && make check-plist && make package
Feel free to fix minor issues.
If there's still a problem please let me know.
Jens
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# samefile/Makefile
# samefile/distinfo
# samefile/pkg-descr
# samefile/pkg-plist
#
echo x - samefile/Makefile
sed 's/^X//' >samefile/Makefile << 'ffdf9b386d0c0e33a818bda6fc9202b8'
X# $FreeBSD: head/sysutils/samefile/Makefile 340722 2014-01-22 17:00:46Z mat $
X
XPORTNAME= samefile
XPORTVERSION= 2.15
XCATEGORIES= sysutils
XMASTER_SITES= http://www.schweikhardt.net/
X
XMAINTAINER= schweikh at FreeBSD.org
XCOMMENT= Find files with identical contents
X
XCONFLICTS= samesame-[0-9]*
X
XGNU_CONFIGURE= yes
X
XCFLAGS+= -ansi -pedantic -Wall -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wno-long-long
X
Xpost-build:
X @${ECHO_MSG} " >>>> <<<<"
X @${ECHO_MSG} " >>>> Running the test suite <<<<"
X @${ECHO_MSG} " >>>> <<<<"
X cd ${WRKSRC}; ${MAKE} test
X
Xpost-install:
X ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/samefile
X
X.include <bsd.port.mk>
ffdf9b386d0c0e33a818bda6fc9202b8
echo x - samefile/distinfo
sed 's/^X//' >samefile/distinfo << 'b12c13f6248d56ed685659d1b421ca3b'
XSHA256 (samefile-2.15.tar.gz) = 26d322e3445ff7273867332311c33a90c8ef037cbd6b19d9468e1742833ea4b6
XSIZE (samefile-2.15.tar.gz) = 66804
b12c13f6248d56ed685659d1b421ca3b
echo x - samefile/pkg-descr
sed 's/^X//' >samefile/pkg-descr << '6017e84f052586c11e41e3f24c5cb2d0'
XThe samefile program finds files with identical contents (independent of
Xfile name). Typical usage would be
X
X find / -print | samefile
X
Xturning up megabytes of wasted disk space due to duplicates. Try it,
Xyou'll be baffled.
X
XWWW: http://www.schweikhardt.net/samefile/
6017e84f052586c11e41e3f24c5cb2d0
echo x - samefile/pkg-plist
sed 's/^X//' >samefile/pkg-plist << '9da93f5d321e9e6be2089315f7a8cfe3'
Xbin/samefile
Xman/man1/samefile.1.gz
9da93f5d321e9e6be2089315f7a8cfe3
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list