svn commit: r314244 - head/graphics/synaesthesia
Beech Rintoul
beech at FreeBSD.org
Fri Mar 15 02:48:56 UTC 2013
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 at 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 at FreeBSD.org
-#
+# Created by: petef at 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 at 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>
More information about the svn-ports-all
mailing list