1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Update to 1.9

PR:		ports/143997
Submitted by:	Alex de Kruijff <samesame AT akruijff.dds.nl> (maintainer)

Feature safe:	yes
This commit is contained in:
Li-Wen Hsu 2010-02-16 11:23:05 +00:00
parent 3e8ea8a07f
commit 4a038a55af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249941
2 changed files with 25 additions and 11 deletions

View File

@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= samesame
PORTVERSION= 1.8
PORTVERSION= 1.9
CATEGORIES= sysutils
MASTER_SITES= http://samesame.kruijff.org/ \
${MASTER_SITE_LOCAL}
@ -17,16 +17,18 @@ COMMENT= Find duplicate files and optionally link them together
CONFLICTS= samefile-[0-9]*
MAN1= samesame.1 samearchive.1 samearchive-lite.1 samefile.1 sameln.1 \
samecp.1 samemv.1 samerm.1 samechflags.1 samechmod.1 samechown.1
samecp.1 samemv.1 samerm.1 samechflags.1 samechmod.1 samechown.1 \
samedelay.1
MANCOMPRESSED= no
PLIST_FILES= bin/samearchive bin/samefile bin/samecp \
bin/samearchive-lite bin/sameln bin/samemv \
etc/rc.d/samesame.sh bin/samerm bin/samechflags \
bin/samechmod bin/samechown
bin/samechflags bin/samerm bin/samechmod \
bin/samechown bin/samedelay
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --mandir="${MANPREFIX}/man" --prefix="${PREFIX}" \
CONFIGURE_ARGS= --enable-samechflags --enable-samechmod \
--mandir="${MANPREFIX}/man" --prefix="${PREFIX}" \
--includedir="${LOCALBASE}/include" --libdir="${LOCALBASE}/lib"
USE_BZIP2= yes
@ -34,6 +36,7 @@ OPTIONS= DEBUG "Enables debugging support" Off \
DISK_STORAGE "Allows temporarily storage on disk" Off \
LOW_MEMORY_PROFILE "Low memory profile reduces functionality" Off \
EXPERIMENTAL "Enables experimental functionality" Off \
PROFILER "Enables gprof support" Off \
TEST "Run quality assurance test" Off
.include <bsd.port.pre.mk>
@ -44,16 +47,23 @@ CONFIGURE_ARGS+= --enable-debug
.if defined(WITH_DISK_STORAGE)
CONFIGURE_ARGS+= --enable-disk-storage
PLIST_FILES+= etc/rc.d/samesame.sh
.endif
.if defined(WITH_EXPERIMENTAL)
CONFIGURE_ARGS+= --enable-experimental
CONFIGURE_ARGS+= --enable-experimental --enable-fsort
#CONFIGURE_ARGS+= --enable-checksums --enable-preread
PLIST_FILES+= bin/fsort
.endif
.if defined(WITH_LOW_MEMORY_PROFILE)
CONFIGURE_ARGS+= --enable-low-memory-profile --disable-read-onces
.endif
.if defined(WITH_PROFILER)
CONFIGURE_ARGS+= --enable-profiler
.endif
regression-test: build
@cd ${WRKSRC}; ${MAKE} check
@ -63,7 +73,7 @@ post-build:
.endif
post-install:
.if defined(WITHOUT_DEBUG)
.if defined(WITHOUT_DEBUG) && defined(WITHOUT_PROFILER)
${STRIP_CMD} ${PREFIX}/bin/samefile
${STRIP_CMD} ${PREFIX}/bin/samearchive
${STRIP_CMD} ${PREFIX}/bin/samearchive-lite
@ -74,9 +84,13 @@ post-install:
${STRIP_CMD} ${PREFIX}/bin/sameln
${STRIP_CMD} ${PREFIX}/bin/samemv
${STRIP_CMD} ${PREFIX}/bin/samerm
.if defined(WITH_EXPERIMENTAL)
${STRIP_CMD} ${PREFIX}/bin/fsort
.endif
.endif
.if defined(WITH_DISK_STORAGE)
${INSTALL_SCRIPT} ${FILESDIR}/samesame.sh ${PREFIX}/etc/rc.d/
.endif
@${ECHO}
@${CAT} pkg-message
@${ECHO}

View File

@ -1,3 +1,3 @@
MD5 (samesame-1.8.tar.bz2) = a38ea450ef1e752b99032db8c046e420
SHA256 (samesame-1.8.tar.bz2) = 23cd53ff8c6cebbf14d69247cc8cb717f11d56f71eea0b452987a953d91c723d
SIZE (samesame-1.8.tar.bz2) = 114984
MD5 (samesame-1.9.tar.bz2) = cf2aeedb8b0557dda0d88f330611edaa
SHA256 (samesame-1.9.tar.bz2) = d6281bbdfa9a30380fd706b8bf349f77999e627e64a652e38db415700295f464
SIZE (samesame-1.9.tar.bz2) = 121167