freebsd-ports/x11-toolkits/qwt6/Makefile

43 lines
982 B
Makefile
Raw Normal View History

# New ports collection makefile for: qwt-devel
# Date created: 2006-12-08
# Whom: Max Brazhnikov <makc@issp.ac.ru>
#
# $FreeBSD$
#
PORTNAME= qwt
PORTVERSION= 5.2.2
CATEGORIES= x11-toolkits
MASTER_SITES= SF
MAINTAINER= makc@FreeBSD.org
COMMENT= Qt Widgets for Technical Applications
USE_QT_VER= 4
QT_COMPONENTS= gui svg moc_build qmake_build
USE_BZIP2= yes
USE_GMAKE= yes
QMAKE_ARGS+= -unix -recursive PREFIX=${PREFIX}
HAS_CONFIGURE= yes
USE_LDCONFIG= yes
2010-05-22 18:09:41 +02:00
MAKE_JOBS_SAFE= yes
PORTSCOUT= limit:^5\.
2009-03-29 23:30:44 +02:00
STRIP_FILES= lib/libqwt.so.${PORTVERSION}
.include <bsd.port.pre.mk>
.include <${FILESDIR}/Makefile.man>
do-configure:
2010-05-22 18:09:41 +02:00
(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS})
post-install:
2010-05-22 18:09:41 +02:00
${MKDIR} ${PREFIX}/man/man3
${INSTALL_MAN} ${WRKSRC}/doc/man/man3/Qwt* ${PREFIX}/man/man3
2009-03-29 23:30:44 +02:00
${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}
.if !defined(NOPORTDOCS)
(cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
.endif
.include <bsd.port.post.mk>