From 939e4e8d93f00d5bcf9f9cab74c2316de56c0f38 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Tue, 26 Feb 2013 17:16:05 +0000 Subject: - Trim the Makefile header - Define LICENSE (GPLv2) - Drop indefinite article from COMMENT - Convert to new OPTIONS framework --- audio/tse3/Makefile | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'audio/tse3') diff --git a/audio/tse3/Makefile b/audio/tse3/Makefile index 48a30440e4da..749215520c6f 100644 --- a/audio/tse3/Makefile +++ b/audio/tse3/Makefile @@ -1,39 +1,41 @@ -# New ports collection makefile for: tse3 -# Date created: Wed Nov 12 14:10:12 PST 2003 -# Whom: Mathew Kanner -# +# Created by: Mathew Kanner # $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 +OPTIONS_DEFINE= ARTS DOCS + +.include -.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 +.include -- cgit v1.2.3