ports/136307: [MAINTAINER] sysutils/samesame
Alex de Kruijff
samesame at akruijff.dds.nl
Sat Jul 4 01:10:04 UTC 2009
>Number: 136307
>Category: ports
>Synopsis: [MAINTAINER] sysutils/samesame
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 04 01:10:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Alex de Kruijff
>Release:
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
- Please remove the patch file
- I've included a test tartet. If this fails and breaks the port, then please remove the target. I would appreciate if you where to mail me the log in that case.
--- Makefile.diff begins here ---
--- Makefile.orig Sat Jul 4 00:42:13 2009
+++ Makefile Sat Jul 4 02:56:07 2009
@@ -4,9 +4,9 @@
#
# $FreeBSD: ports/sysutils/samesame/Makefile,v 1.7 2009/06/30 20:43:11 dhn Exp $
+
PORTNAME= samesame
-PORTVERSION= 1.2
-PORTREVISION= 1
+PORTVERSION= 1.3
CATEGORIES= sysutils
MASTER_SITES= http://samesame.kruijff.org/ \
${MASTER_SITE_LOCAL}
@@ -18,56 +18,50 @@
CONFLICTS= samefile-[0-9]*
MAN1= samearchive.1 samearchive-lite.1 samefile.1 samelink.1
-MANCOMPRESSED= yes
+MANCOMPRESSED= no
PLIST_FILES= bin/samearchive bin/samefile \
bin/samearchive-lite bin/samelink \
etc/rc.d/samesame.sh
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --mandir=${PREFIX}/man
USE_BZIP2= yes
OPTIONS= DEBUG "Enables debugging support" Off \
- DISK_STORAGE "Allow temporarily storage paths on disk" On \
+ DISK_STORAGE "Allows temporarily storage paths on disk" On \
LOGIC "Determine results by using logic when posible" On \
TEST "Run quality assurance test" Off
.include <bsd.port.pre.mk>
.if defined(WITH_DEBUG)
-CFLAGS+= -DDEBUG
+CONFIGURE_ARGS+= --enable-debug
.endif
.if defined(WITH_DISK_STORAGE)
-CFLAGS+= -DWITH_DISK_STORAGE
+CONFIGURE_ARGS+= --enable-disk-storage
.endif
.if defined(WITHOUT_LOGIC)
-CFLAGS+= -DWITHOUT_LOGIC
+CONFIGURE_ARGS+= --disable-logic
.endif
-CFLAGS+= -DWITH_MMAP
-CFLAGS+= -D'TEMP_STORAGE_DIR=\"/tmp\"'
-CFLAGS+= -DPATH_INIT=256
-CFLAGS+= -DSTATIC_CACHE_CAPACITY=8192
-
-post-patch:
- @${REINPLACE_CMD} -e 's|@||g' ${WRKSRC}/Makefile
-
-post-build:
-.if defined(WITH_TEST)
- cd ${WRKSRC}; ${MAKE} test
-.endif
+test: build
+ cd ${WRKSRC}; ${MAKE} check
pre-install:
.if defined(WITH_TEST)
- cd ${WRKSRC}; ${MAKE} test
+ cd ${WRKSRC}; ${MAKE} check
.endif
post-install:
+.if defined(WITHOUT_DEBUG)
${STRIP_CMD} ${PREFIX}/bin/samefile
${STRIP_CMD} ${PREFIX}/bin/samelink
${STRIP_CMD} ${PREFIX}/bin/samearchive
${STRIP_CMD} ${PREFIX}/bin/samearchive-lite
+.endif
${INSTALL_SCRIPT} ${FILESDIR}/samesame.sh ${PREFIX}/etc/rc.d/
+ @${CAT} pkg-message
.include <bsd.port.post.mk>
-
--- Makefile.diff ends here ---
--- distinfo begins here ---
MD5 (samesame-1.3.tar.bz2) = b65526ea0eba1d0f617ade7dd2a3d468
SHA256 (samesame-1.3.tar.bz2) = 2c03b46d19e42470155a4848f02b0c1ced35c2b26875e192fdf9d0bd3de90efc
SIZE (samesame-1.3.tar.bz2) = 100829
--- distinfo ends here ---
--- pkg-message begins here ---
---------------------------------------------------
A 2 clause BSD licence applies to this application:
http://samesame.kruijff.org/license.html
---------------------------------------------------
--- pkg-message ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list