1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/cad/qfsm/Makefile
Ying-Chieh Liao ef59d5df91 fix build on -current
PR:		46466
Submitted by:	Ports Fury
2002-12-22 13:26:02 +00:00

39 lines
849 B
Makefile

# ex:ts=8
# Ports collection makefile for: qfsm
# Date created: Mar 14, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= qfsm
PORTVERSION= 0.40
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
USE_QT_VER= 3
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
post-extract:
@${SED} -e 's:select\[:select1\[:g' ${WRKSRC}/pics/select.xpm \
> ${WRKSRC}/pics/select1.xpm
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|^CXXFLAGS =.*$$|CXXFLAGS = @CXXFLAGS@|g'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/qfsm ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.fsm ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>