Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 2014 12:34:09 GMT
From:      Hakisho Nukama <nukama@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186335: sysutils/scalpel - STAGEify 
Message-ID:  <201402011234.s11CY9bA070265@oldred.freebsd.org>
Resent-Message-ID: <201402011240.s11Ce00f035483@freefall.freebsd.org>

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

>Number:         186335
>Category:       ports
>Synopsis:       sysutils/scalpel - STAGEify
>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 Feb 01 12:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Hakisho Nukama
>Release:        10.0-RELEASE
>Organization:
n/a
>Environment:
>Description:
- STAGEify
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -rup /usr/ports/sysutils/scalpel/Makefile sysutils/scalpel/Makefile
--- /usr/ports/sysutils/scalpel/Makefile	2014-01-22 17:00:46.000000000 +0000
+++ sysutils/scalpel/Makefile	2014-01-31 12:08:09.107839421 +0000
@@ -1,35 +1,34 @@
 # Created by: Hakisho Nukama <nukama@gmail.com>
-# $FreeBSD: sysutils/scalpel/Makefile 340722 2014-01-22 17:00:46Z mat $
+# $FreeBSD$
 
-PORTNAME=	scalpel
-PORTVERSION=	2.0
-CATEGORIES=	sysutils
-MASTER_SITES=	http://www.digitalforensicssolutions.com/Scalpel/
+PORTNAME=		scalpel
+PORTVERSION=		2.0
+CATEGORIES=		sysutils
+MASTER_SITES=		http://www.digitalforensicssolutions.com/Scalpel/
 
-MAINTAINER=	nukama+maintainer@gmail.com
-COMMENT=	Frugal, high performance file carver
+MAINTAINER=		nukama+maintainer@gmail.com
+COMMENT=		Frugal, high performance file carver
 
-LICENSE=	GPLv2
+LICENSE=		GPLv2
 
-LIB_DEPENDS=	tre.5:${PORTSDIR}/textproc/libtre
+LIB_DEPENDS=		libtre.so:${PORTSDIR}/textproc/libtre
 
-GNU_CONFIGURE=	yes
-SUB_FILES=	pkg-message
+GNU_CONFIGURE=		yes
 
-MAN1=		scalpel.1
-PLIST_FILES+=	etc/scalpel.conf.sample bin/scalpel
+PLIST_FILES+=		etc/scalpel.conf.sample \
+			bin/scalpel \
+			man/man1/${PORTNAME}.1.gz
+SUB_FILES=		pkg-message
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+CPPFLAGS+=		-I${LOCALBASE}/include
+LDFLAGS+=		-L${LOCALBASE}/lib
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's/#ifdef __APPLE__/#if defined(__APPLE__) || defined(__FreeBSD__)/' \
 		${WRKSRC}/src/scalpel.h
 
 post-install:
-	@${CP} -p ${WRKSRC}/scalpel.conf ${PREFIX}/etc/scalpel.conf.sample
-	@${CAT} ${PKGMESSAGE}
+	@${CP} -p ${WRKSRC}/scalpel.conf ${STAGEDIR}${PREFIX}/etc/scalpel.conf.sample
 
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



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