Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2013 17:16:06 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r313000 - head/audio/tse3
Message-ID:  <201302261716.r1QHG6W0092621@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Feb 26 17:16:05 2013
New Revision: 313000
URL: http://svnweb.freebsd.org/changeset/ports/313000

Log:
  - Trim the Makefile header
  - Define LICENSE (GPLv2)
  - Drop indefinite article from COMMENT
  - Convert to new OPTIONS framework

Modified:
  head/audio/tse3/Makefile

Modified: head/audio/tse3/Makefile
==============================================================================
--- head/audio/tse3/Makefile	Tue Feb 26 17:15:07 2013	(r312999)
+++ head/audio/tse3/Makefile	Tue Feb 26 17:16:05 2013	(r313000)
@@ -1,39 +1,41 @@
-# New ports collection makefile for:    tse3
-# Date created:				Wed Nov 12 14:10:12 PST 2003
-# Whom:					Mathew Kanner <mat@hak.cnd.mcgill.ca>
-#
+# Created by: Mathew Kanner <mat@hak.cnd.mcgill.ca>
 # $FreeBSD$
 
 PORTNAME=	tse3
 PORTVERSION=	0.3.1
 PORTREVISION=	1
 CATEGORIES=	audio
-MASTER_SITES=	SF/${PORTNAME}/TSE3/${PORTVERSION}
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME:U}/${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A MIDI library
+COMMENT=	MIDI library
+
+LICENSE=	GPLv2
 
 USE_GMAKE=	yes
 USE_AUTOTOOLS=	libtool
 CONFIGURE_ARGS=	--without-doc-install
-CPPFLAGS+=	${PTHREAD_CFLAGS}
-LDFLAGS+=	${PTHREAD_LIBS}
 USE_LDCONFIG=	yes
 MAKE_JOBS_UNSAFE=	yes
 
+CPPFLAGS+=	${PTHREAD_CFLAGS}
+LDFLAGS+=	${PTHREAD_LIBS}
+
 MAN1=		tse3play.1
 MAN3=		tse3.3
 
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE=	ARTS DOCS
+
+.include <bsd.port.options.mk>
 
-.if defined(WITH_ARTS)
+.if ${PORT_OPTIONS:MARTS}
 LIB_DEPENDS+=	artsmidi:${PORTSDIR}/multimedia/kdemultimedia3
 .else
 CONFIGURE_ARGS+=	--without-aRts
 .endif
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
@@ -44,4 +46,4 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/demos/*.tse3 ${DOCSDIR}/songs
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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