Date: Thu, 14 Mar 2013 03:38:36 +0100 From: nemysis <nemysis@gmx.ch> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/176934: [PATCH] graphics/synaesthesia: OptionsNG, added license Message-ID: <20130314023839.DC7337B9@hub.freebsd.org> Resent-Message-ID: <201303140240.r2E2e02Y024674@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 176934 >Category: ports >Synopsis: [PATCH] graphics/synaesthesia: OptionsNG, added license >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: Thu Mar 14 02:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 >Description: Makefile changed: Port is now safe with NOPORTDOCS=yes in /etc/make.conf +OPTIONS_DEFINE= DOCS +PLIST_FILES+= %%DOCSDIR%%/README +PLIST_DIRS+= %%DOCSDIR%% +LICENSE= GPLv2 +.include <bsd.port.options.mk> Changed and refined: do-install: Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports) >How-To-Repeat: portlint -A looks usual. port test: clean >Fix: --- synaesthesia-2.4_5.patch begins here --- diff -ruN --exclude=CVS /usr/ports/graphics/synaesthesia/Makefile ./Makefile --- /usr/ports/graphics/synaesthesia/Makefile 2013-01-14 17:57:09.000000000 +0100 +++ ./Makefile 2013-03-14 03:23:33.000000000 +0100 @@ -1,19 +1,17 @@ -# New ports collection makefile for: synaesthesia -# Date created: 25 May 2001 -# Whom: petef@FreeBSD.org -# +# Created by: petef@FreeBSD.org # $FreeBSD: head/graphics/synaesthesia/Makefile 300896 2012-07-14 13:54:48Z beat $ -# PORTNAME= synaesthesia PORTVERSION= 2.4 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics audio -MASTER_SITES= http://www.logarithmic.net/pfh-files/synaesthesia/ CENKES +MASTER_SITES= http://www.logarithmic.net/pfh-files/synaesthesia/ MAINTAINER= ports@FreeBSD.org COMMENT= Graphically represents sound in real time +LICENSE= GPLv2 + USE_SDL= sdl USE_GMAKE= yes GNU_CONFIGURE= yes @@ -21,15 +19,22 @@ PORTDOCS= README PLIST_FILES= bin/${PORTNAME} +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e 's,stdint.h,inttypes.h,' ${WRKSRC}/*.c? @${REINPLACE_CMD} -e 's,int16_t,u_int16_t,' ${WRKSRC}/sound.cc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/synaesthesia ${PREFIX}/bin/ -.if !defined(NOPORTDOCS) - @${INSTALL} -d ${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ + +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +PLIST_FILES+= %%DOCSDIR%%/README +PLIST_DIRS+= %%DOCSDIR%% .endif .include <bsd.port.mk> --- synaesthesia-2.4_5.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130314023839.DC7337B9>