blob: 811637a50a8ac084ffb70ba71c25df7fa91c359b (
plain)
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
|
# ex:ts=8
# Ports collection makefile for: qfsm
# Date created: Mar 14, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= qfsm
PORTVERSION= 0.50
PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A graphical tool for designing finite state machines
USE_QT_VER= 4
QT_COMPONENTS= corelib gui qt3support svg xml \
moc_build porting_build qmake_build uic_build uic3_build
INSTALLS_ICONS= yes
USE_XORG= xi
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/qfsm.pro
do-configure:
@cd ${WRKSRC} \
&& ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKE_ARGS} qfsm.pro
post-install:
@${STRIP_CMD} ${PREFIX}/bin/qfsm
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/doc/user && ${COPYTREE_SHARE} . ${DOCSDIR})
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
.endif
.include <bsd.port.mk>
|