diff options
Diffstat (limited to 'security/qtfw/Makefile')
-rw-r--r-- | security/qtfw/Makefile | 29 |
1 files changed, 6 insertions, 23 deletions
diff --git a/security/qtfw/Makefile b/security/qtfw/Makefile index 817183e05e1e..954c4d0c86d3 100644 --- a/security/qtfw/Makefile +++ b/security/qtfw/Makefile @@ -6,37 +6,20 @@ # PORTNAME= qtfw -PORTVERSION= 0.4 +PORTVERSION= 0.5 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= pat@FreeBSD.org -GNU_CONFIGURE= yes +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME} USE_GMAKE= yes -USE_QT_VER= 2 -CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS}" X11BASE="${X11BASE}" - -pre-patch: - @${PERL} -pi.orig -e 's|^\ *CXXFLAGS=.*||' \ - ${WRKSRC}/configure - @${PERL} -pi.orig -e 's|\-O2||' ${WRKSRC}/qtfw/Makefile.in +USE_QT_VER= 3 +MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + PTHREAD_LIBS="${PTHREAD_LIBS}" do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/qtfw/qtfw ${PREFIX}/bin - @${MKDIR} ${DATADIR} -.for files in gear qtfwlogo - @${INSTALL_DATA} ${WRKSRC}/pics/${files}.png ${DATADIR} -.endfor -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for docs in index.html ipfwman.html qtfwlogo.jpeg - @${INSTALL_DATA} ${WRKSRC}/docs/${docs} ${DOCSDIR} -.endfor - @${MKDIR} ${PREFIX}/share/examples/${PORTNAME} - @${INSTALL_DATA} ${WRKSRC}/examples/* \ - ${PREFIX}/share/examples/${PORTNAME} -.endif + @${INSTALL_PROGRAM} ${WRKSRC}/qtfw ${PREFIX}/bin .include <bsd.port.mk> |