1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/x11-toolkits/qwt4/Makefile
Beat Gaetzi 8558ca7184 - Deprecate QT3, KDE3 and unmaintained ports depending on them. QT 3.3.8
was released in 2007 and KDE 3.5.10 in 2008 and both are no longer
  maintained upstream nor in our tree.
- Set EXPIRATION_DATE to 2013-07-01

Discussed with:	bapt, tabthorpe
2012-12-30 12:03:51 +00:00

59 lines
1.4 KiB
Makefile

# New ports collection makefile for: Qwt
# Date created: 02 March 2002
# Whom: Bob Bomar <bob@fly.homeunix.org>
#
# $FreeBSD$
#
PORTNAME= qwt
PORTVERSION= 4.2.0
PORTREVISION= 9
CATEGORIES= x11-toolkits
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Qwt widget library for technical purposes (old version)
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
DEPRECATED= Depends on QT3; unmaintained
EXPIRATION_DATE= 2013-07-01
USE_QT_VER= 3
USE_BZIP2= yes
HAS_CONFIGURE= yes
CONFIGURE_ENV+= QMAKESPEC="${QMAKESPEC}"
MAKE_ENV+= MOC="${MOC}" QTDIR="${QT_PREFIX}"
USE_LDCONFIG= yes
QMAKESPEC= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
QMAKE= ${LOCALBASE}/bin/qmake
PORTSCOUT= limit:^4\.
LATEST_LINK= qwt4
.include <bsd.port.pre.mk>
.include <${FILESDIR}/Makefile.man>
do-configure:
@(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} -unix)
post-configure:
@(cd ${WRKSRC} && \
${REINPLACE_CMD} -e \
's|^CC .*|CC=${CC}|; \
s|^CXX .*|CXX=${CXX}|; \
s|^LINK .*|LINK=${CXX}|' \
${WRKSRC}/Makefile)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lib/libqwt4.so.${PORTVERSION} ${PREFIX}/lib/libqwt4.so.${PORTVERSION:R:R}
${LN} -fs ${PREFIX}/lib/libqwt4.so.${PORTVERSION:R:R} ${PREFIX}/lib/libqwt4.so
${MKDIR} ${PREFIX}/include/qwt4
${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qwt4
.for f in ${MAN3}
${INSTALL_MAN} ${WRKSRC}/doc/man/man3/${f:S/Qwt4/Qwt/} ${PREFIX}/man/man3/${f}
.endfor
.include <bsd.port.post.mk>