Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 12:52:03 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343494 - head/multimedia/libkate
Message-ID:  <201402091252.s19Cq37I019659@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sun Feb  9 12:52:03 2014
New Revision: 343494
URL: http://svnweb.freebsd.org/changeset/ports/343494
QAT: https://qat.redports.org/buildarchive/r343494/

Log:
  - Support staging
  - Define DOCS
  - Use gmake USES macro instead of USE_GMAKE
  - Update LICENSE
  - Use new LIB_DEPENDS syntax

Modified:
  head/multimedia/libkate/Makefile
  head/multimedia/libkate/pkg-plist

Modified: head/multimedia/libkate/Makefile
==============================================================================
--- head/multimedia/libkate/Makefile	Sun Feb  9 12:46:38 2014	(r343493)
+++ head/multimedia/libkate/Makefile	Sun Feb  9 12:52:03 2014	(r343494)
@@ -10,28 +10,25 @@ MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 MAINTAINER=	bar@FreeBSD.org
 COMMENT=	Codec for karaoke and text encapsulation for Ogg
 
-LICENSE=	BSD
+LICENSE=	BSD3CLAUSE
 
-LIB_DEPENDS=	ogg:${PORTSDIR}/audio/libogg \
-		png15:${PORTSDIR}/graphics/png
+LIB_DEPENDS=	libogg.so:${PORTSDIR}/audio/libogg \
+		libpng.so:${PORTSDIR}/graphics/png
 
 GNU_CONFIGURE=	yes
-USES=		pkgconfig
-USE_GMAKE=	yes
+USES=		pkgconfig gmake
 USE_LDCONFIG=	yes
 
 CFLAGS+=	"-I${LOCALBASE}/include"
 
-MAN1=		katalyzer.1 kateenc.1 katedec.1
-
-OPTIONS_DEFINE=		DOXYGEN HTMLDOCS KATEDJ
+MANPAGE=	katalyzer.1 kateenc.1 katedec.1
+OPTIONS_DEFINE=	DOXYGEN HTMLDOCS KATEDJ DOCS
 
 HTMLDOCS_DESC=	Install bundled html documentation
 KATEDJ_DESC=	Install KateDJ (Huge dependencies list)
 
 PORTDOCS=	*
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
@@ -46,7 +43,7 @@ USE_PYTHON=	yes
 .include "${PORTSDIR}/Mk/bsd.python.mk"
 USE_WX=		2.8
 WX_COMPS=	wx contrib python:lib
-MAN1+=		KateDJ.1
+MANPAGE+=	KateDJ.1
 PLIST_SUB+=	KATEDJ=""
 .else
 PLIST_SUB+=	KATEDJ="@comment "
@@ -73,17 +70,16 @@ post-patch:
 .endif
 
 post-install:
-.for f in ${MAN1}
-	${INSTALL_MAN} ${WRKSRC}/doc/man/${f} ${PREFIX}/man/man1
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
+.for f in ${MANPAGE}
+	${INSTALL_MAN} ${WRKSRC}/doc/man/${f} ${STAGEDIR}${PREFIX}/man/man1
+.endfor
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for FILE in README AUTHORS COPYING THANKS ChangeLog
+	${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
 .endfor
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-. for FILE in README AUTHORS COPYING THANKS ChangeLog
-	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
-. endfor
-. if ${PORT_OPTIONS:MHTMLDOCS} || ${PORT_OPTIONS:MDOXYGEN}
-	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${DOCSDIR})
+.if ${PORT_OPTIONS:MHTMLDOCS} || ${PORT_OPTIONS:MDOXYGEN}
+	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
 . endif
-.endif
 
 .include <bsd.port.mk>

Modified: head/multimedia/libkate/pkg-plist
==============================================================================
--- head/multimedia/libkate/pkg-plist	Sun Feb  9 12:46:38 2014	(r343493)
+++ head/multimedia/libkate/pkg-plist	Sun Feb  9 12:52:03 2014	(r343494)
@@ -15,6 +15,10 @@ lib/liboggkate.so
 lib/liboggkate.so.3
 libdata/pkgconfig/kate.pc
 libdata/pkgconfig/oggkate.pc
+man/man1/katalyzer.1.gz
+man/man1/katedec.1.gz
+man/man1/kateenc.1.gz
+%%KATEDJ%%man/man1/KateDJ.1.gz
 %%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/__init__.py
 %%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/__init__.pyc
 %%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/__init__.pyo



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