ports/189979: [patch] Add staging support to www/apercu
Joseph Benden
joe at thrallingpenguin.com
Tue May 20 01:30:00 UTC 2014
>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 at 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:
More information about the freebsd-ports-bugs
mailing list