34 lines
857 B
Makefile
34 lines
857 B
Makefile
# $NetBSD: Makefile,v 1.30 2006/05/19 07:48:12 joerg Exp $
|
|
|
|
DISTNAME= qwt-0.3.0
|
|
PKGREVISION= 5
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qwt/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://sourceforge.net/projects/qwt
|
|
COMMENT= Qt widget library for technical purposes
|
|
|
|
USE_X11BASE= yes
|
|
USE_LANGUAGES= c++
|
|
USE_TOOLS+= gmake
|
|
USE_LIBTOOL= yes
|
|
|
|
MAKE_ENV+= CXXFLAGS=${CXXFLAGS:M*:Q}
|
|
|
|
CONFLICTS= qwtlib-[0-9]*
|
|
|
|
INSTALLATION_DIRS= lib man/man3
|
|
|
|
post-patch:
|
|
${LN} -s ${WRKSRC}/makefiles/netbsd-g++ ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
@${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/libqwt.la \
|
|
${PREFIX}/lib
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/qwt
|
|
${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qwt
|
|
${INSTALL_DATA} ${WRKSRC}/doc/man/man3/* ${PREFIX}/man/man3
|
|
|
|
.include "../../x11/qt2-libs/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|