Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2014 01:20:09 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189979: [patch] Add staging support to www/apercu
Message-ID:  <201405200120.s4K1K9Lr047015@cgiserv.freebsd.org>
Resent-Message-ID: <201405200130.s4K1U0H0046153@freefall.freebsd.org>

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

>Number:         189979
>Category:       ports
>Synopsis:       [patch] Add staging support to www/apercu
>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:   Tue May 20 01:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Joseph Benden
>Release:        FreeBSD 11
>Organization:
>Environment:
FreeBSD lucy 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r264887: Thu Apr 24 12:43:46 MST 2014     root@lucy:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Adds staging support to www/apercu.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/apercu/Makefile b/www/apercu/Makefile
index c6bbb4e..1efdf2c 100644
--- a/www/apercu/Makefile
+++ b/www/apercu/Makefile
@@ -12,15 +12,14 @@ COMMENT=	Summarize information from Apache logs
 USE_RUBY=	yes
 NO_BUILD=	yes
 
-MAN1=		apercu.1
-PLIST_FILES=	bin/apercu
+PLIST_FILES=	bin/apercu ${MANPREFIX}/man/man1/apercu.1.gz
 
-NO_STAGE=	yes
 pre-patch:
 	@${REINPLACE_CMD} -e 's|/usr/bin/ruby|${RUBY}|' ${WRKSRC}/apercu
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/apercu ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/apercu.1 ${MANPREFIX}/man/man1
+	${INSTALL_SCRIPT} ${WRKSRC}/apercu ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/apercu.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${GZIP_CMD} ${STAGEDIR}${MANPREFIX}/man/man1/apercu.1
 
 .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?201405200120.s4K1K9Lr047015>