ports/179151: [PATCH] multimedia/ggrab: Shorten header, comply with OptionsNG
nemysis
nemysis at gmx.ch
Fri May 31 18:10:00 UTC 2013
>Number: 179151
>Category: ports
>Synopsis: [PATCH] multimedia/ggrab: Shorten header, comply with OptionsNG
>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: Fri May 31 18:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.1-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013
>Description:
- Shorten header
- Comply with OptionsNG
Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
Build log
https://redports.org/buildarchive/20130530231501-65135/
>Fix:
--- ggrab-0.22a.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/multimedia/ggrab/Makefile ./Makefile
--- /usr/ports/multimedia/ggrab/Makefile 2013-01-14 17:54:54.000000000 +0100
+++ ./Makefile 2013-05-31 01:09:03.000000000 +0200
@@ -1,9 +1,5 @@
-# New ports collection makefile for: ggrab
-# Date created: Fri Jan 6 20:53:15 CET 2006
-# Whom: Markus Brueffer <markus at FreeBSD.org>
-#
+# Created by: Markus Brueffer <markus at FreeBSD.org>
# $FreeBSD: head/multimedia/ggrab/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
PORTNAME= ggrab
PORTVERSION= 0.22a
@@ -18,8 +14,11 @@
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_FILES= bin/ggrab bin/sserver
+
PORTDOCS= README
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' \
${WRKSRC}/Makefile
@@ -27,9 +26,10 @@
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ggrab ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/sserver ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
--- ggrab-0.22a.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list