aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2010-02-16 19:23:05 +0800
committerlwhsu <lwhsu@FreeBSD.org>2010-02-16 19:23:05 +0800
commit42eb351d0bf3449dbcfd76c6f424df2bff235c94 (patch)
treeb07e015128d2ec03421c75177191717caf7ffe1d /sysutils
parentc98370bdb25e7e8d86af735c6216ff0f199be684 (diff)
downloadfreebsd-ports-graphics-42eb351d0bf3449dbcfd76c6f424df2bff235c94.tar.gz
freebsd-ports-graphics-42eb351d0bf3449dbcfd76c6f424df2bff235c94.tar.zst
freebsd-ports-graphics-42eb351d0bf3449dbcfd76c6f424df2bff235c94.zip
- Update to 1.9
PR: ports/143997 Submitted by: Alex de Kruijff <samesame AT akruijff.dds.nl> (maintainer) Feature safe: yes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/samesame/Makefile30
-rw-r--r--sysutils/samesame/distinfo6
2 files changed, 25 insertions, 11 deletions
diff --git a/sysutils/samesame/Makefile b/sysutils/samesame/Makefile
index aa5256648b7..3d0f112bdcd 100644
--- a/sysutils/samesame/Makefile
+++ b/sysutils/samesame/Makefile
@@ -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}
diff --git a/sysutils/samesame/distinfo b/sysutils/samesame/distinfo
index aafe5651920..7f5b835d102 100644
--- a/sysutils/samesame/distinfo
+++ b/sysutils/samesame/distinfo
@@ -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