From b26e7da67fd63755196d60cade6fc5f6c52e7d7e Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Sun, 28 Jul 2013 12:26:14 +0000 Subject: - 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 --- multimedia/tstools/Makefile | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) (limited to 'multimedia/tstools/Makefile') diff --git a/multimedia/tstools/Makefile b/multimedia/tstools/Makefile index f3fee4e9acdb..e40e49504136 100644 --- a/multimedia/tstools/Makefile +++ b/multimedia/tstools/Makefile @@ -1,34 +1,35 @@ -# New ports collection makefile for: tstools -# Date created: 2009 January 12 -# Whom: J.R. Oldroyd -# +# Created by: J.R. Oldroyd # $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 +PORTDOCS= * + +OPTIONS_DEFINE= DOCS + +.include 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 +.include -- cgit v1.2.3