aboutsummaryrefslogtreecommitdiffstats
path: root/math/speedcrunch/Makefile
blob: a84e22ee2caf9920e641bfc81a326c3bd26655e5 (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
# Created by: Yinghong.Liu <relaxbsd@gmail.com>
# $FreeBSD$

PORTNAME=   speedcrunch
DISTVERSION=    0.10.1
PORTREVISION=   2
CATEGORIES= math
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}

MAINTAINER= makc@FreeBSD.org
COMMENT=    A desktop calculator for power users

USE_QT4=    qmake_build moc_build rcc_build uic_build gui xml
USES=       cmake
CMAKE_SOURCE_PATH=  src

MAKE_JOBS_SAFE= yes

LRELEASE_CMD=   ${LOCALBASE}/bin/lrelease-qt4
LRELEASE_ARGS=  -compress -silent

OPTIONS_DEFINE= NLS

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USE_QT4+=   linguist
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif

pre-configure:
.if ${PORT_OPTIONS:MNLS}
    cd ${WRKSRC}/src/i18n && ${LRELEASE_CMD} ${LRELEASE_ARGS} *.ts
.else
    ${REINPLACE_CMD} -e '/speedcrunch_TRANSLATIONS/d' ${WRKSRC}/src/CMakeLists.txt
.endif
    ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/src/gui/mainwindow.cpp

.include <bsd.port.mk>
mit/LEGAL?h=gnome-3.24&id=8b9bdb99beb12ee0b3f2bcf1956190874794acb3'>Remove expired ports:vd2006-11-091-1/+0 * Remove expired leaf ports:vd2006-10-311-2/+0 * Remove ZendOptimizer, since we can distribute distfiles.ale2006-10-101-2/+0 * - Update games/atitd's distfile name.shaun2006-10-101-1/+1 * Add note about multimedia/pvrxxx.alepulver2006-10-061-0/+3 * Sync files masks with the current ports tree.vd2006-10-051-75/+75 * Add a note for security/metasploit-devel.alepulver2006-10-051-0/+1 * Add entry for japanese/citrix_ica.alepulver2006-10-041-0/+1 * - Add note about games/fretsonfire-dataacm2006-10-041-0/+3 * Remove references to nonexistent ports:vd2006-10-031-15/+2 * Remove expired ports:vd2006-10-021-3/+0 * Add a note about comms/hcfmdm.bsam2006-10-021-0/+1 * - Update for devel/uppaalrafan2006-09-171-1/+1 * Remove expired leaf ports:vd2006-09-121-1/+0 * - Add note about games/linux-savageacm2006-09-091-0/+2 * - Add note about sysutils/linux-megamgrbsam2006-09-071-0/+1 * - Merge entry of games/linux-doom3-demo with games/linux-doom3 (recentalepulver2006-09-051-1/+1 * Remove antivir-milterkris2006-09-031-1/+0 * add archivers/lha-acdinoex2006-08-171-0/+1 * - Fix the entry for linux-quake4. Now this affect to linux-quake4 andacm2006-08-031-1/+1 * - Add note about games/linux-quake4acm2006-08-031-0/+1 * - Add note about science/svmlightclsung2006-08-011-0/+3 * - Add note about security/httprintrafan2006-08-011-0/+1 * - Add note about linux-unacesat2006-07-311-0/+2 * - Permission to distribute packages has been grantedsat2006-07-301-2/+1 * - Add autopano-sift:tmclaugh2006-07-301-0/+1 * Add port audio/optimfrog:sat2006-07-221-0/+2 * Add port audio/lpac:sat2006-07-221-0/+1 * Add an entry for games/linux-ut.alepulver2006-06-141-0/+1 * Add an entry in LEGAL for Google Earth.flz2006-06-131-0/+1 * Add a note about security/pam_authsrvgarga2006-06-051-0/+2 * Add entry for audio/linux-shoutcast.itetcu2006-06-051-0/+1 * - Remove games/linux-alienarena (the data is in a separate port).alepulver2006-05-201-1/+0 * Fix file order that I messed up with the last commitjeh2006-05-151-2/+2 * Remove the DAT only port since it is now brough in live in the scanner portjeh2006-05-151-2/+2 * Update security/vscan's file namejeh2006-05-091-1/+1 * Add entry for java/netcomponents.lawrance2006-05-071-0/+2 * * plan9portmnag2006-05-061-3/+0 * - Remove redundant entry for xgobi in wrong positionsem2006-04-301-1/+1 * . Remove the entries for java/diablo-jdk13 and java/diablo-jre13 since theglewis2006-04-251-4/+0 * - Add math/kash3 (no commercial distribution or use)johans2006-04-191-0/+2 * Remove emulators/gngeo because it doesn't package the Neo-Geo BIOS anymorealepulver2006-04-181-2/+0 * Remove www/linux-flashplugin* ports because of license problem.hrs2006-04-081-3/+0 * . Add entries for java/diablo-jdk15 and java/diablo-jre15.glewis2006-04-061-4/+8