Date: Thu, 14 Nov 2013 11:19:34 GMT From: Kimmo Paasiala <kpaasial@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/183953: Support staging in sysutils/finfo Message-ID: <201311141119.rAEBJYK7080214@oldred.freebsd.org> Resent-Message-ID: <201311141120.rAEBK0UB089152@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183953 >Category: ports >Synopsis: Support staging in sysutils/finfo >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Nov 14 11:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Kimmo Paasiala >Release: FreeBSD 10.0-BETA3 stable/10 >Organization: >Environment: FreeBSD freebsd10.rdnzl.info 10.0-BETA3 FreeBSD 10.0-BETA3 #1 r258064: Wed Nov 13 05:19:20 EET 2013 kimmo@freebsd10.rdnzl.info:/usr/obj/usr/src/sys/RDNZL i386 >Description: Sysutils/finfo does not yet support staging. >How-To-Repeat: >Fix: Apply the attached patch to the port Makefile Patch attached with submission follows: --- Makefile 2013-11-14 13:12:40.000000000 +0200 +++ Makefile.new 2013-11-14 12:24:08.000000000 +0200 @@ -9,15 +9,14 @@ MAINTAINER= mich@FreeBSD.org COMMENT= Finfo displays potentially useful information about a file -PLIST_FILES= bin/finfo -MAN1= finfo.1 +PLIST_FILES= bin/finfo man/man1/finfo.1.gz + -NO_STAGE= yes do-build: (cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1.gz ${PREFIX}/man/man1/ + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1.gz ${STAGEDIR}${PREFIX}/man/man1/ .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?201311141119.rAEBJYK7080214>