Bug 176934 - [PATCH] graphics/synaesthesia: OptionsNG, added license
Summary: [PATCH] graphics/synaesthesia: OptionsNG, added license
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Beech Rintoul
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-14 02:40 UTC by nemysis
Modified: 2013-03-15 02:50 UTC (History)
0 users

See Also:


Attachments
synaesthesia-2.4_5.patch (1.53 KB, patch)
2013-03-14 02:40 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2013-03-14 02:40:00 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-14 02:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

beech@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-03-15 02:49:04 UTC
Author: beech
Date: Fri Mar 15 02:48:55 2013
New Revision: 314244
URL: http://svnweb.freebsd.org/changeset/ports/314244

Log:
  - Add OptionsNG
  - Add license
  
  PR:		ports/176934
  Submitted by:	nemysis <nemysis@gmx.ch>

Modified:
  head/graphics/synaesthesia/Makefile   (contents, props changed)

Modified: head/graphics/synaesthesia/Makefile
==============================================================================
--- head/graphics/synaesthesia/Makefile	Fri Mar 15 02:48:45 2013	(r314243)
+++ head/graphics/synaesthesia/Makefile	Fri Mar 15 02:48:55 2013	(r314244)
@@ -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$
-#
 
 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 @@ CONFIGURE_ARGS=	--with-sdl-prefix=${LOCA
 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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Beech Rintoul freebsd_committer freebsd_triage 2013-03-15 02:49:13 UTC
State Changed
From-To: open->closed

Committed, Thanks!