aboutsummaryrefslogtreecommitdiff
path: root/cad/qfsm/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-01-03 11:39:30 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-01-03 11:39:30 +0000
commit4cac54e62fc01a6b6990e79252ca6a6b546da0ea (patch)
treebbe43d08f66dfd6fe75ed4a5310dfd7d5d60e09f /cad/qfsm/Makefile
parent1ea62a5b5cb67ed65e5abbc757e2004e6aec9d55 (diff)
downloadports-4cac54e62fc01a6b6990e79252ca6a6b546da0ea.tar.gz
ports-4cac54e62fc01a6b6990e79252ca6a6b546da0ea.zip
- Update to 0.46
PR: 119162 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=204903
Diffstat (limited to 'cad/qfsm/Makefile')
-rw-r--r--cad/qfsm/Makefile23
1 files changed, 8 insertions, 15 deletions
diff --git a/cad/qfsm/Makefile b/cad/qfsm/Makefile
index 82a5b0d002c4..1bcf88afe524 100644
--- a/cad/qfsm/Makefile
+++ b/cad/qfsm/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= qfsm
-PORTVERSION= 0.45
+PORTVERSION= 0.46
CATEGORIES= cad
MASTER_SITES= SF
@@ -19,22 +19,15 @@ USE_PERL5_BUILD=yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS= --with-qtdir=${QT_PREFIX}
-MAKE_ARGS= LDADD="-lqt-mt ${PTHREAD_LIBS}"
+CONFIGURE_ARGS= --with-qt-dir=${QT_PREFIX}
-post-extract:
- @${ECHO_CMD} '#!/bin/sh' > ${WRKSRC}/qfsm.sh
- @${ECHO_CMD} 'QFSMDIR=${DATADIR}' >> ${WRKSRC}/qfsm.sh
- @${ECHO_CMD} 'export QFSMDIR' >> ${WRKSRC}/qfsm.sh
- @${ECHO_CMD} '' >> ${WRKSRC}/qfsm.sh
- @${ECHO_CMD} 'exec ${PREFIX}/bin/qfsm.exec "$$@"' >> ${WRKSRC}/qfsm.sh
+QTCPPFLAGS= ${PTHREAD_CFLAGS}
+QTCFGLIBS= ${PTHREAD_LIBS}
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/qfsm.sh ${PREFIX}/bin/qfsm
- ${INSTALL_PROGRAM} ${WRKSRC}/src/qfsm ${PREFIX}/bin/qfsm.exec
- @${MKDIR} ${DATADIR}/po
- ${INSTALL_DATA} ${WRKSRC}/po/*.qm ${DATADIR}/po
- ${INSTALL_DATA} ${WRKSRC}/po/*.ts ${DATADIR}/po
+post-patch:
+ @${REINPLACE_CMD} -e '/^SUBDIRS/s| doc/user||g' ${WRKSRC}/Makefile.in
+
+post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/user/*.docbook ${DOCSDIR}