freebsd-ports/cad/qelectrotech/Makefile
Veniamin Gvozdikov c0117f2aa0 The 0.3 version brings more electrical elements, more translations,
texts-related improvements, a faster elements panel and custom title block
templates.

- Update to 0.3
- Changed my email

Approved by:	eadler, osa, rm (mentors, implicit)
2013-10-31 19:34:14 +00:00

39 lines
1 KiB
Makefile

# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= qelectrotech
PORTVERSION= 0.3
PORTEPOCH= 1
CATEGORIES= cad
MASTER_SITES= http://download.tuxfamily.org/qet/tags/20130928/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= vg@FreeBSD.org
COMMENT= QElectroTech is application to design electric diagrams
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_QT4= gui moc_build network qmake_build rcc_build \
sql-sqlite3 svg uic_build xml designer
USE_GCC= 4.7+
INSTALLS_ICONS= yes
CXXFLAGS+= "-fno-ipa-sra"
QMAKEFLAGS+= QMAKE_RPATHDIR="${_GCC_RUNTIME}"
MAN1= qelectrotech.1
MANLANG= "" cs el es fr.ISO8859-1 fr.UTF-8 fr it pl pt_PT
MANCOMPRESSED= yes
do-configure:
${MV} ${WRKSRC}/man/files/pt ${WRKSRC}/man/files/pt_PT
${REINPLACE_CMD} -e 's,/usr/local/,${STAGEDIR}${PREFIX}/,g' \
${WRKSRC}/${PORTNAME}.pro
${REINPLACE_CMD} -e 's,doc/,share/doc/,g' \
${WRKSRC}/${PORTNAME}.pro
${REINPLACE_CMD} -e 's,../share,share,g' \
${WRKSRC}/${PORTNAME}.pro
cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS} ${PORTNAME}.pro
.include <bsd.port.mk>