aboutsummaryrefslogtreecommitdiffstats
path: root/cad/qfsm/Makefile
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-01-03 19:39:30 +0800
committermiwi <miwi@FreeBSD.org>2008-01-03 19:39:30 +0800
commitc4dd8254898a28f9bbdd5f2e5f5bdf84043d7c8d (patch)
treeb415ebd98a53a1ee88140d1dffbc3b371b8e2448 /cad/qfsm/Makefile
parentcad4713cf76a3f00b269a6c4daafbf685bd2fd8e (diff)
downloadfreebsd-ports-gnome-c4dd8254898a28f9bbdd5f2e5f5bdf84043d7c8d.tar.gz
freebsd-ports-gnome-c4dd8254898a28f9bbdd5f2e5f5bdf84043d7c8d.tar.zst
freebsd-ports-gnome-c4dd8254898a28f9bbdd5f2e5f5bdf84043d7c8d.zip
- Update to 0.46
PR: 119162 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
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}