diff options
Diffstat (limited to 'cad/qfsm/Makefile')
-rw-r--r-- | cad/qfsm/Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/cad/qfsm/Makefile b/cad/qfsm/Makefile index 0a65b80b98d9..002a7857b62d 100644 --- a/cad/qfsm/Makefile +++ b/cad/qfsm/Makefile @@ -7,11 +7,9 @@ # PORTNAME= qfsm -PORTVERSION= 0.43 -PORTREVISION= 1 +PORTVERSION= 0.44 CATEGORIES= cad -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} +MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= A graphical tool for designing finite state machines @@ -21,7 +19,8 @@ USE_PERL5_BUILD=yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include +CONFIGURE_ARGS= --with-qtdir=${QT_PREFIX} +MAKE_ARGS= LDADD="-lqt-mt ${PTHREAD_LIBS}" post-extract: @${ECHO_CMD} '#!/bin/sh' > ${WRKSRC}/qfsm.sh @@ -30,12 +29,6 @@ post-extract: @${ECHO_CMD} '' >> ${WRKSRC}/qfsm.sh @${ECHO_CMD} 'exec ${PREFIX}/bin/qfsm.exec "$$@"' >> ${WRKSRC}/qfsm.sh -post-patch: - @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|^AM_CXXFLAGS =.*$$|AM_CXXFLAGS =|g' - @${REINPLACE_CMD} -e 's|-pedantic||g ; \ - s|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure - do-install: ${INSTALL_SCRIPT} ${WRKSRC}/qfsm.sh ${PREFIX}/bin/qfsm ${INSTALL_PROGRAM} ${WRKSRC}/src/qfsm ${PREFIX}/bin/qfsm.exec @@ -43,6 +36,13 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/po/*.qm ${DATADIR}/po ${INSTALL_DATA} ${WRKSRC}/po/*.ts ${DATADIR}/po .if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/user/*.docbook ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/user/*.html ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/user/*.pdf ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/user/*.png ${DOCSDIR} +.endif +.if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.fsm ${EXAMPLESDIR} .endif |