forked from Lainports/freebsd-ports
For a while now bsdtar is able to autotermine compression and archive format. Let's then use tar directly instead of piping to tar. Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
25 lines
477 B
Makefile
25 lines
477 B
Makefile
# Created by: lofi@freebsd.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= doc
|
|
DISTVERSION= ${QT4_VERSION}
|
|
CATEGORIES?= misc
|
|
PKGNAMEPREFIX= qt4-
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Multiplatform C++ application framework
|
|
|
|
USE_QT4= # empty
|
|
QT_DIST= yes
|
|
NO_BUILD= yes
|
|
|
|
EXTRACT_AFTER_ARGS= '${DISTNAME}/doc'
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/qt4
|
|
|
|
do-install:
|
|
${MKDIR} ${DOCSDIR} && \
|
|
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${DOCSDIR} && \
|
|
${COPYTREE_SHARE} qch ${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|