Date: Sun, 28 Jul 2013 12:26:15 +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: r323823 - head/multimedia/tstools Message-ID: <201307281226.r6SCQFN9041382@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Sun Jul 28 12:26:14 2013 New Revision: 323823 URL: http://svnweb.freebsd.org/changeset/ports/323823 Log: - Switch to SourceForge as BerliOS does not seem to work - Convert NOPORTDOCS -> PORT_OPTIONS:MDOCS, define LICENSE - Respect user's CC and CFLAGS - Generally clean up Makefile prior to making it jobs-safe Modified: head/multimedia/tstools/Makefile head/multimedia/tstools/pkg-plist Modified: head/multimedia/tstools/Makefile ============================================================================== --- head/multimedia/tstools/Makefile Sun Jul 28 12:18:05 2013 (r323822) +++ head/multimedia/tstools/Makefile Sun Jul 28 12:26:14 2013 (r323823) @@ -1,34 +1,35 @@ -# New ports collection makefile for: tstools -# Date created: 2009 January 12 -# Whom: J.R. Oldroyd <fbsd@opal.com> -# +# Created by: J.R. Oldroyd <fbsd@opal.com> # $FreeBSD$ -# PORTNAME= tstools DISTVERSION= 1_11 CATEGORIES= multimedia -MASTER_SITES= ${MASTER_SITE_BERLIOS} +MASTER_SITES= SF/${PORTNAME}.berlios MASTER_SITE_SUBDIR= tstools EXTRACT_SUFX= .tgz MAINTAINER= fbsd@opal.com COMMENT= MPEG transport, program, and elementary stream tools -USE_GMAKE= yes +LICENSE= MPL + +USES= gmake +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -.include <bsd.port.pre.mk> +PORTDOCS= * + +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> do-install: - @${MKDIR} ${PREFIX}/bin - ${CP} ${WRKSRC}/bin/* ${PREFIX}/bin - @${MKDIR} ${PREFIX}/lib - ${CP} ${WRKSRC}/lib/* ${PREFIX}/lib -.if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/docs/${PORTNAME} - ${CP} ${WRKSRC}/docs/* ${PREFIX}/share/docs/${PORTNAME} + ${CP} ${WRKSRC}/bin/* ${PREFIX}/bin + ${CP} ${WRKSRC}/lib/* ${PREFIX}/lib +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${CP} ${WRKSRC}/docs/* ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/multimedia/tstools/pkg-plist ============================================================================== --- head/multimedia/tstools/pkg-plist Sun Jul 28 12:18:05 2013 (r323822) +++ head/multimedia/tstools/pkg-plist Sun Jul 28 12:26:14 2013 (r323823) @@ -17,15 +17,3 @@ bin/tsplay bin/tsreport bin/tsserve lib/libtstools.a -%%PORTDOCS%%share/docs/tstools/ac3.txt -%%PORTDOCS%%share/docs/tstools/adts.txt -%%PORTDOCS%%share/docs/tstools/build_html.py -%%PORTDOCS%%share/docs/tstools/default.css -%%PORTDOCS%%share/docs/tstools/get_next_access_unit.py -%%PORTDOCS%%share/docs/tstools/get_next_access_unit.py.html -%%PORTDOCS%%share/docs/tstools/index.txt -%%PORTDOCS%%share/docs/tstools/library.txt -%%PORTDOCS%%share/docs/tstools/todo.txt -%%PORTDOCS%%share/docs/tstools/tools.txt -%%PORTDOCS%%@dirrm share/docs/tstools -%%PORTDOCS%%@dirrm share/docs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307281226.r6SCQFN9041382>