Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2013 02:50:52 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/182798: misc/ondir: Update to version 0.2.4
Message-ID:  <20131008025052.ed903f93debc42dbab95d2a3@yahoo.com>
Resent-Message-ID: <201310071810.r97IA0hu057897@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182798
>Category:       ports
>Synopsis:       misc/ondir: Update to version 0.2.4
>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:   Mon Oct 07 18:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.2.4

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/misc/ondir/Makefile misc/ondir/Makefile
--- /usr/ports/misc/ondir/Makefile	2013-09-22 00:30:55.000000000 +0900
+++ misc/ondir/Makefile	2013-10-08 00:00:00.000000000 +0900
@@ -2,23 +2,33 @@
 # $FreeBSD: head/misc/ondir/Makefile 327745 2013-09-20 20:50:57Z bapt $
 
 PORTNAME=	ondir
-PORTVERSION=	0.2.3
+PORTVERSION=	0.2.4
 CATEGORIES=	misc
 MASTER_SITES=	http://swapoff.org/files/${PORTNAME}/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Automatically executes scripts as you traverse directories
 
+LICENSE=	GPLv2
+
 ALL_TARGET=	${PORTNAME}
-MAKE_ARGS=	PREFIX=${PREFIX} CONF=${PREFIX}/etc/ondirrc
-MAN1=		${PORTNAME}.1
-MANCOMPRESSED=	no
 
-PLIST_FILES=	bin/${PORTNAME}
+PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|^PREFIX=|PREFIX?=| ; \
+		 s|^CONF=/etc|CONF=$${PREFIX}/etc| ; \
+		 s|^CC=|CC?=| ; \
+		 s|^CFLAGS=-O3|CFLAGS+=-c| ; \
+		 s|^CFLAGS=-Wall|#CFLAGS=-Wall| ; \
+		 s|^LD=cc|LD=$${CC}| ; \
+		 s|^LDFLAGS|#LDFLAGS|' ${WRKSRC}/Makefile
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \
+		${STAGEDIR}${PREFIX}/bin)
+	(cd ${WRKSRC} && ${INSTALL_MAN} ${PORTNAME}.1 \
+		${STAGEDIR}${MANPREFIX}/man/man1)
 
 .include <bsd.port.mk>
diff -urN /usr/ports/misc/ondir/distinfo misc/ondir/distinfo
--- /usr/ports/misc/ondir/distinfo	2013-09-20 19:48:10.000000000 +0900
+++ misc/ondir/distinfo	2013-10-08 00:00:00.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (ondir-0.2.3.tar.gz) = 504a677e5b7c47c907f478d00f52c8ea629f2bf0d9134ac2a3bf0bbe64157ba3
-SIZE (ondir-0.2.3.tar.gz) = 17820
+SHA256 (ondir-0.2.4.tar.gz) = 52921cdcf02273e0d47cc6172df6a0d2c56980d724568276acb0591e0bda343a
+SIZE (ondir-0.2.4.tar.gz) = 52860
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131008025052.ed903f93debc42dbab95d2a3>