ports/179150: [PATCH] multimedia/gavl: Trim comment, comply with OptionsNG
nemysis
nemysis at gmx.ch
Fri May 31 18:10:00 UTC 2013
>Number: 179150
>Category: ports
>Synopsis: [PATCH] multimedia/gavl: Trim comment, 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:
- Trim comment
- Comply with OptionsNG
- Cleanup Makefile
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/20130530231600-56480/
>Fix:
--- gavl-1.4.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/multimedia/gavl/Makefile ./Makefile
--- /usr/ports/multimedia/gavl/Makefile 2013-04-26 16:36:56.000000000 +0200
+++ ./Makefile 2013-05-21 22:17:45.000000000 +0200
@@ -7,12 +7,11 @@
MASTER_SITES= SF/gmerlin/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
-COMMENT= A library for handling uncompressed video and audio data
+COMMENT= Library for handling uncompressed video and audio data
LICENSE= GPLv3
-LICENSE_FILE= ${WRKSRC}/COPYING
-USES= pathfix pkgconfig
+USES= pathfix pkgconfig
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
GNU_CONFIGURE= yes
@@ -33,19 +32,19 @@
CONFIGURE_ARGS+= --disable-libpng
.endif
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
post-patch:
-.if empty(PORT_OPTIONS:MOPTIMIZED_CFLAGS)
- @${REINPLACE_CMD} -e \
- 's|-O3 -funroll-all-loops -fomit-frame-pointer -ffast-math||g' \
+.if ! ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
+ @${REINPLACE_CMD} \
+ -e 's|-O3 -funroll-all-loops -fomit-frame-pointer -ffast-math||g' \
${WRKSRC}/configure
.endif
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- gavl-1.4.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list