diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-09 20:52:03 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-09 20:52:03 +0800 |
commit | b474517afdaa3e8a7d8ff9a19c96775309f9c567 (patch) | |
tree | f67f09b4a5ea7b336c5088e9afd69bae7f0a0870 /multimedia | |
parent | 1ede9ffa7f39a9a6d2f3617219f55fa3a01837b8 (diff) | |
download | freebsd-ports-gnome-b474517afdaa3e8a7d8ff9a19c96775309f9c567.tar.gz freebsd-ports-gnome-b474517afdaa3e8a7d8ff9a19c96775309f9c567.tar.zst freebsd-ports-gnome-b474517afdaa3e8a7d8ff9a19c96775309f9c567.zip |
- Support staging
- Define DOCS
- Use gmake USES macro instead of USE_GMAKE
- Update LICENSE
- Use new LIB_DEPENDS syntax
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libkate/Makefile | 36 | ||||
-rw-r--r-- | multimedia/libkate/pkg-plist | 4 |
2 files changed, 20 insertions, 20 deletions
diff --git a/multimedia/libkate/Makefile b/multimedia/libkate/Makefile index eec6403a2d1c..d30997bf1068 100644 --- a/multimedia/libkate/Makefile +++ b/multimedia/libkate/Makefile @@ -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> diff --git a/multimedia/libkate/pkg-plist b/multimedia/libkate/pkg-plist index 20df1e915720..773e9d2479d3 100644 --- a/multimedia/libkate/pkg-plist +++ b/multimedia/libkate/pkg-plist @@ -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 |