blob: 19a3fa57f1123d96a88954df84400ca5d1253fba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $FreeBSD$
PORTNAME= qwt
PORTVERSION= 5.2.3
CATEGORIES= x11-toolkits
MASTER_SITES= SF
MAINTAINER= makc@FreeBSD.org
COMMENT= Qt Widgets for Technical Applications
USE_QT4= gui svg moc_build qmake_build
USE_BZIP2= yes
USE_GMAKE= yes
QMAKE_ARGS+= -recursive PREFIX=${PREFIX}
HAS_CONFIGURE= yes
USE_LDCONFIG= yes
PORTSCOUT= limit:^5\.
PORTDOCS= *
PLIST_SUB= SHLIB_VER=${PORTVERSION} \
SHLIB_SHVER=${PORTVERSION:R}
STRIP_FILES= lib/libqwt.so.${PORTVERSION}
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.pre.mk>
.include <${FILESDIR}/Makefile.man>
do-configure:
(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS})
post-install:
${MKDIR} ${PREFIX}/man/man3
${INSTALL_MAN} ${WRKSRC}/doc/man/man3/Qwt* ${PREFIX}/man/man3
${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}
.if ${PORT_OPTIONS:MDOCS}
(cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
.endif
.include <bsd.port.post.mk>
|