1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

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)
This commit is contained in:
Veniamin Gvozdikov 2013-10-31 19:34:14 +00:00
parent a5154e8d6d
commit c0117f2aa0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332278
5 changed files with 2252 additions and 188 deletions

View File

@ -1,36 +1,39 @@
# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= qelectrotech
PORTVERSION= 0.22
PORTREVISION= 1
PORTVERSION= 0.3
PORTEPOCH= 1
CATEGORIES= cad
MASTER_SITES= http://download.tuxfamily.org/qet/tags/20100313/
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
USE_QT4= gui network svg xml \
moc_build qmake_build rcc_build uic_build
INSTALLS_ICONS= yes
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= "" es fr.ISO8859-1 fr.UTF-8 fr pt_PT
MANLANG= "" cs el es fr.ISO8859-1 fr.UTF-8 fr it pl pt_PT
MANCOMPRESSED= yes
NO_STAGE= yes
do-configure:
${MV} ${WRKSRC}/man/files/pt ${WRKSRC}/man/files/pt_PT
${REINPLACE_CMD} -e 's,/usr/local/,${PREFIX}/,g' \
${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} ${PORTNAME}.pro
cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS} ${PORTNAME}.pro
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (qelectrotech-0.22-src.tar.gz) = 505f62163ab942475e692b3ec2ce7ce68fa58051ebb5a1dfafad94386568d5d0
SIZE (qelectrotech-0.22-src.tar.gz) = 2288318
SHA256 (qelectrotech-0.3-src.tar.gz) = 9a699c724800466ad7d0dd0e60099fe1ceea7665d93d6d0ff27daddeac251c00
SIZE (qelectrotech-0.3-src.tar.gz) = 4600831

View File

@ -0,0 +1,31 @@
--- qelectrotech.pro.orig 2013-10-20 15:35:18.572968653 +0000
+++ qelectrotech.pro 2013-10-20 15:36:46.700968030 +0000
@@ -19,7 +19,7 @@
QET_DESKTOP_PATH = 'share/applications/'
QET_ICONS_PATH = 'share/icons/hicolor/'
QET_MAN_PATH = 'man/'
- QET_APPDATA_PATH = 'share/appdata'
+# QET_APPDATA_PATH = 'share/appdata'
}
win32 {
# Chemins Windows
@@ -123,8 +123,8 @@
desktop.path = $$join(INSTALL_PREFIX,,,$${QET_DESKTOP_PATH})
desktop.files = misc/qelectrotech.desktop
-appdata.path = $$join(INSTALL_PREFIX,,,$${QET_APPDATA_PATH})
-appdata.files = misc/qelectrotech.appdata.xml
+#appdata.path = $$join(INSTALL_PREFIX,,,$${QET_APPDATA_PATH})
+#appdata.files = misc/qelectrotech.appdata.xml
icons.path = $$join(INSTALL_PREFIX,,,$${QET_ICONS_PATH})
icons.files = ico/oxygen-icons/16x16 \
@@ -166,7 +166,7 @@
# Compilers-specific options
unix {
- QMAKE_COPY_DIR = 'cp -f -r --preserve=timestamps'
+ QMAKE_COPY_DIR = 'cp -frp'
*-g++* {
system(g++ -v --help 2>&1 | grep -q fipa-sra) {
QMAKE_CXXFLAGS += -fno-ipa-sra

View File

@ -2,4 +2,4 @@ QElectroTech is a Qt4 application to design electric diagrams. It uses XML
files for elements and diagrams, and includes both a diagram editor and an
element editor.
WWW: http://qelectrotech.org/
WWW: http://qelectrotech.org/

File diff suppressed because it is too large Load Diff