mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Move speedcrunch from science to math.
No repo is requiered since there's no history to preserve. Requsted by: danfe@
This commit is contained in:
parent
11f29fabfa
commit
29eeae057b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197661
@ -101,7 +101,6 @@
|
||||
SUBDIR += ruby-dcl
|
||||
SUBDIR += ruby-gphys
|
||||
SUBDIR += simlib
|
||||
SUBDIR += speedcrunch
|
||||
SUBDIR += svmlight
|
||||
SUBDIR += szip
|
||||
SUBDIR += udunits
|
||||
|
@ -1,71 +0,0 @@
|
||||
# New ports collection makefile for: speedcrunch
|
||||
# Date created: 27 Jul 2007
|
||||
# Whom: Yinghong.Liu <relaxbsd@gmail.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= speedcrunch
|
||||
DISTVERSION= 0.8
|
||||
CATEGORIES= science
|
||||
MASTER_SITES= http://speedcrunch.googlecode.com/files/
|
||||
|
||||
MAINTAINER= relaxbsd@gmail.com
|
||||
COMMENT= A desktop calculator for power users
|
||||
|
||||
BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
|
||||
|
||||
USE_QT_VER= 4
|
||||
QT_COMPONENTS= qmake corelib moc gui rcc
|
||||
CMAKE_ARGS= -DCMAKE_BUILD_TYPE:STRING=Release \
|
||||
-DCMAKE_C_COMPILER:STRING='${CC}' \
|
||||
-DCMAKE_CXX_COMPILER:STRING=${CXX} \
|
||||
-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS} -pthread" \
|
||||
-DCMAKE_INSTALL_PREFIX=${PREFIX}
|
||||
|
||||
MYPORTDOCS= COPYING ChangeLog HACKING.txt INSTALL.txt LISEZMOI PACKAGERS README \
|
||||
TRANSLATORS doc/man.docbook doc/speedcrunch.docbook
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
DESKTOP_ENTRIES= "SpeedCrunch" \
|
||||
"A desktop calculator for power users" \
|
||||
"crunch" \
|
||||
"speedcrunch" \
|
||||
"Qt;KDE;Education;Math;" \
|
||||
"false"
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|qwindowdefs.h|QtGui/qwindowdefs.h|g' \
|
||||
-e 's|qcolor.h|QtGui/qcolor.h|g' \
|
||||
-e 's|qfont.h|QtGui/qfont.h|g' \
|
||||
-e 's|qrect.h|QtCore/qrect.h|g' \
|
||||
-e 's|qstring.h|QtCore/qstring.h|g' \
|
||||
-e 's|qstringlist.h|QtCore/qstringlist.h|g' \
|
||||
${WRKSRC}/src/settings.h
|
||||
@${REINPLACE_CMD} -e 's|crunch\"|speedcrunch\"|g' \
|
||||
${WRKSRC}/src/main.cpp
|
||||
|
||||
pre-build:
|
||||
@(cd ${WRKSRC}; \
|
||||
${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/cmake ${CMAKE_ARGS} ${WRKSRC}/src)
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/speedcrunch ${PREFIX}/bin
|
||||
@${INSTALL_DATA} ${WRKSRC}/src/crunch.png ${PREFIX}/share/pixmaps
|
||||
.if !defined(WITHOUT_NLS)
|
||||
@${MKDIR} ${DATADIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/src/*.qm ${DATADIR}
|
||||
.endif
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for doc in ${MYPORTDOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (speedcrunch-0.8.tar.gz) = 182508151b4d92a0f75b69b90214d3fc
|
||||
SHA256 (speedcrunch-0.8.tar.gz) = 0a790b0baa58133b0112e94a2eefc0236a6304c95c1728b791eef55aa653ca93
|
||||
SIZE (speedcrunch-0.8.tar.gz) = 409075
|
@ -1,11 +0,0 @@
|
||||
SpeedCrunch is a multiplatform desktop calculator for power users.
|
||||
It is designed to be enjoyed using keyboard. Result is shown in
|
||||
scrollable display, history of expressions is available with up
|
||||
and down arrow.
|
||||
|
||||
Some other features:
|
||||
optional keypad, syntax highlight, matched parenthesis indicator,
|
||||
just-in-time calculation (show result even before you finish typing)
|
||||
and autocomplete for variables.
|
||||
|
||||
WWW: http://speedcrunch.digitalfanatics.org/
|
@ -1,32 +0,0 @@
|
||||
bin/speedcrunch
|
||||
%%NLS%%%%DATADIR%%/crunch_cs.qm
|
||||
%%NLS%%%%DATADIR%%/crunch_es_AR.qm
|
||||
%%NLS%%%%DATADIR%%/crunch_he.qm
|
||||
%%NLS%%%%DATADIR%%/crunch_nl.qm
|
||||
%%NLS%%%%DATADIR%%/crunch_pt.qm
|
||||
%%NLS%%%%DATADIR%%/crunch_ru.qm
|
||||
%%NLS%%%%DATADIR%%/crunch_de.qm
|
||||
%%NLS%%%%DATADIR%%/crunch_fi.qm
|
||||
%%NLS%%%%DATADIR%%/crunch_id.qm
|
||||
%%NLS%%%%DATADIR%%/crunch_no.qm
|
||||
%%NLS%%%%DATADIR%%/crunch_pt_BR.qm
|
||||
%%NLS%%%%DATADIR%%/crunch_sl.qm
|
||||
%%NLS%%%%DATADIR%%/crunch_es.qm
|
||||
%%NLS%%%%DATADIR%%/crunch_fr.qm
|
||||
%%NLS%%%%DATADIR%%/crunch_it.qm
|
||||
%%NLS%%%%DATADIR%%/crunch_pl.qm
|
||||
%%NLS%%%%DATADIR%%/crunch_ro.qm
|
||||
%%NLS%%%%DATADIR%%/crunch_sv.qm
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/HACKING.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LISEZMOI
|
||||
%%PORTDOCS%%%%DOCSDIR%%/PACKAGERS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TRANSLATORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/man.docbook
|
||||
%%PORTDOCS%%%%DOCSDIR%%/speedcrunch.docbook
|
||||
share/pixmaps/crunch.png
|
||||
%%NLS%%@dirrm %%DATADIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user