diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-07-28 12:26:14 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-07-28 12:26:14 +0000 |
commit | b26e7da67fd63755196d60cade6fc5f6c52e7d7e (patch) | |
tree | a1cfc896d56cfa22d9773971fcd11b075502f073 /multimedia/tstools | |
parent | 8cd5a5450cfcdb929b5ecde3117e60abd52284f7 (diff) | |
download | ports-b26e7da67fd63755196d60cade6fc5f6c52e7d7e.tar.gz ports-b26e7da67fd63755196d60cade6fc5f6c52e7d7e.zip |
Notes
Diffstat (limited to 'multimedia/tstools')
-rw-r--r-- | multimedia/tstools/Makefile | 33 | ||||
-rw-r--r-- | multimedia/tstools/pkg-plist | 12 |
2 files changed, 17 insertions, 28 deletions
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 <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> diff --git a/multimedia/tstools/pkg-plist b/multimedia/tstools/pkg-plist index 70d19edb6892..f2e988a54e70 100644 --- a/multimedia/tstools/pkg-plist +++ b/multimedia/tstools/pkg-plist @@ -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 |