blob: 82a5b0d002c4a10cd6ac93655027d7392ef9a541 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# ex:ts=8
# Ports collection makefile for: qfsm
# Date created: Mar 14, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= qfsm
PORTVERSION= 0.45
CATEGORIES= cad
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A graphical tool for designing finite state machines
USE_QT_VER= 3
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}"
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
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
.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
.include <bsd.port.mk>
|