freebsd-ports/x11-toolkits/qwt6-designerplugin/Makefile
Max Brazhnikov 8784a1f7ac - Update to 6.0.2
- Strip Makefile header
- Replace some patches with sed
- Fix indentation in WWW
- Utilize PORTDOCS in order to reduce plist shaking on updates
2012-12-15 13:50:08 +00:00

40 lines
993 B
Makefile

# $FreeBSD$
PORTNAME= qwt
PORTVERSION= 6.0.2
CATEGORIES= x11-toolkits devel
MASTER_SITES= SF
PKGNAMESUFFIX= -designerplugin
MAINTAINER= makc@FreeBSD.org
COMMENT= Qt Designer plugin for Qwt
LIB_DEPENDS= qwt6.6:${PORTSDIR}/x11-toolkits/qwt6
USE_QT4= designer moc_build qmake_build rcc_build
USE_BZIP2= yes
USE_GMAKE= yes
QMAKE_ARGS+= -recursive CONFIG+=QwtDesigner \
PLUGINDIR=${PREFIX}/${QT_PLUGINDIR_REL}
HAS_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
LATEST_LINK= qwt6${PKGNAMESUFFIX}
PLIST_FILES= ${QT_PLUGINDIR_REL}/designer/libqwt6_designer_plugin.so
PLIST_DIRSTRY= ${QT_PLUGINDIR_REL}/designer \
${QT_PLUGINDIR_REL}
STRIP_FILES= ${QT_PLUGINDIR_REL}/designer/libqwt6_designer_plugin.so
CONFIGURE_WRKSRC= ${WRKSRC}/designer
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
do-configure:
(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS})
post-install:
${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}
.include <bsd.port.mk>