Date: Thu, 21 May 2009 03:10:40 +0200 (CEST) From: Alex de Kruijff <samesame@akruijff.dds.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/134769: [MAINTAINER] sysutils/samesame update port to version 1.1 Message-ID: <200905210110.n4L1AekW051272@Server1.lan> Resent-Message-ID: <200905210120.n4L1K2cu013532@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134769 >Category: ports >Synopsis: [MAINTAINER] sysutils/samesame update port to version 1.1 >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: Thu May 21 01:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alex de Kruijff >Release: >Organization: >Environment: >Description: Updated port to version 1.1. The test should be fixed. >How-To-Repeat: >Fix: --- Makefile.diff begins here --- --- Makefile.orig Thu May 21 02:58:55 2009 +++ Makefile Thu May 21 03:00:00 2009 @@ -5,7 +5,7 @@ # $FreeBSD: ports/sysutils/samesame/Makefile,v 1.4 2009/05/19 14:25:13 dhn Exp $ PORTNAME= samesame -PORTVERSION= 1.0 +PORTVERSION= 1.1 CATEGORIES= sysutils MASTER_SITES= http://www.akruijff.dds.nl/samesame/ \ ${MASTER_SITE_LOCAL} @@ -18,16 +18,18 @@ MAN1= samearchive.1 samearchive-lite.1 samefile.1 samelink.1 MANCOMPRESSED= yes -PLIST_FILES= bin/samearchive \ - bin/samearchive-lite \ - bin/samefile \ - bin/samelink +PLIST_FILES= bin/samearchive bin/samefile \ + bin/samearchive-lite bin/samelink \ + etc/rc.d/samesame.sh USE_BZIP2= yes OPTIONS= DEBUG "Enables debugging support" Off \ DISK_STORAGE "Allow temporarily storage paths on disk" On \ - LOGIC "Determine results by using logic when posible" On + LOGIC "Determine results by using logic when posible" On \ + TEST "Run quality assurance test" On + +.include <bsd.port.pre.mk> .if defined(WITH_DEBUG) CFLAGS+= -DDEBUG @@ -46,17 +48,21 @@ CFLAGS+= -DPATH_INIT=256 CFLAGS+= -DSTATIC_CACHE_CAPACITY=8192 -post-patch: - @${REINPLACE_CMD} -e '/^install/s|test-samefile||g' \ - -e '/^install/s|test-samelink||g' \ - -e '/^install/s|test-samearchive-lite||g' \ - -e '/^install/s|test-samearchive||g' ${WRKSRC}/Makefile +post-build: +.if defined(WITH_TEST) + cd ${WRKSRC}; ${MAKE} test +.endif + +pre-install: +.if defined(WITH_TEST) + cd ${WRKSRC}; ${MAKE} test +.endif post-install: - ${CHMOD} 770 ${WRKSRC}/test* ${STRIP_CMD} ${PREFIX}/bin/samefile ${STRIP_CMD} ${PREFIX}/bin/samelink ${STRIP_CMD} ${PREFIX}/bin/samearchive ${STRIP_CMD} ${PREFIX}/bin/samearchive-lite + ${INSTALL_SCRIPT} ${FILESDIR}/samesame.sh ${PREFIX}/etc/rc.d/ -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- Makefile.diff ends here --- --- distinfo begins here --- MD5 (samesame-1.1.tar.bz2) = f2ce1139a82213e2095da4fef4311683 SHA256 (samesame-1.1.tar.bz2) = 87fd4e2838659e520e188b0a347c4a0f3c6903b218f6f839ad01f9d75b719479 SIZE (samesame-1.1.tar.bz2) = 41368 --- distinfo ends here --- --- files/samesame.sh begins here --- #!/bin/sh # # $FreeBSD$ # case "$1" in start) /bin/rm -rf /tmp/samefile /tmp/samearchive ;; esac --- files/samesame.sh ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905210110.n4L1AekW051272>