Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2014 17:26:12 GMT
From:      Hardy Schumacher <hardy.schumacher@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185690: [UPDATE] audio/denemo, fix portlint issues
Message-ID:  <201401121726.s0CHQClj011027@oldred.freebsd.org>
Resent-Message-ID: <201401121730.s0CHU07C030449@freefall.freebsd.org>

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

>Number:         185690
>Category:       ports
>Synopsis:       [UPDATE] audio/denemo, fix portlint issues
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 12 17:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Hardy Schumacher
>Release:        FreeBSD-9.2
>Organization:
>Environment:
FreeBSD gamma.low.org 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255996: Thu Oct  3 20:40:04 CEST 2013     root@gamma.low.org:/usr/obj/usr/src/sys/LOW_GAMMA  i386
>Description:
This PR contains only fixes for issues reported by portlint.
While here, I added missing functionality from new options framework.

>How-To-Repeat:
n/a
>Fix:


Patch attached with submission follows:

diff -ruN /usr/ports/audio/denemo/Makefile ./denemo/Makefile
--- /usr/ports/audio/denemo/Makefile	2013-12-21 13:05:14.000000000 +0100
+++ ./denemo/Makefile	2014-01-12 18:18:46.000000000 +0100
@@ -9,6 +9,8 @@
 MAINTAINER=	multimedia@FreeBSD.org
 COMMENT=	Graphical score editor
 
+LICENSE=	GPLv3
+
 BUILD_DEPENDS=	portaudio2>0:${PORTSDIR}/audio/portaudio2
 LIB_DEPENDS=	libaubio.so:${PORTSDIR}/audio/aubio \
 		libfluidsynth.so:${PORTSDIR}/audio/fluidsynth \
@@ -22,8 +24,6 @@
 RUN_DEPENDS=	portaudio2>0:${PORTSDIR}/audio/portaudio2 \
 		xdg-open:${PORTSDIR}/devel/xdg-utils
 
-LICENSE=	GPLv3
-
 OPTIONS_DEFINE=	LILYPOND DOCS EXAMPLES
 LILYPOND_DESC=	Install LilyPond (Printing)
 
@@ -50,7 +50,7 @@
 		 s|-lpthread|-pthread|' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e \
 		'/^SUBDIRS/s|doc|| ; \
-        	 /) install-data-hook/s|^|#|' ${WRKSRC}/Makefile.in
+		/) install-data-hook/s|^|#|' ${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e \
 		's|"firefox"|"xdg-open"|' ${WRKSRC}/src/prefops.c
 
@@ -66,6 +66,7 @@
 	@${FIND} ${STAGEDIR}${DATADIR}/${i} -type f -print0 | \
 		${XARGS} -0 ${CHMOD} ${SHAREMODE}
 .endfor
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in AUTHORS ChangeLog NEWS README
 	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
@@ -79,8 +80,10 @@
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/manual/images
 	(cd ${WRKSRC}/doc/images && ${INSTALL_DATA} *.png \
 		${STAGEDIR}${DOCSDIR}/manual/images)
+.endif
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	(cd ${WRKSRC}/examples && ${INSTALL_DATA} *.denemo \
 		${STAGEDIR}${EXAMPLESDIR})
-
+.endif
 .include <bsd.port.mk>
diff -ruN /usr/ports/audio/denemo/pkg-descr ./denemo/pkg-descr
--- /usr/ports/audio/denemo/pkg-descr	2013-02-05 19:32:40.000000000 +0100
+++ ./denemo/pkg-descr	2014-01-12 18:14:44.000000000 +0100
@@ -1,4 +1,4 @@
 GNU Denemo is a graphical music notation program. It is intended to be
 used in conjunction with GNU Lilypond.
 
-WWW:  http://www.denemo.org/
+WWW: http://www.denemo.org/


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401121726.s0CHQClj011027>