summaryrefslogtreecommitdiff
path: root/time/fet
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-08-07 21:59:02 +0000
committerwiz <wiz@pkgsrc.org>2014-08-07 21:59:02 +0000
commit9e7ea21a26d0a3ad98e0dbebdced9dbf138399d3 (patch)
treed0cf9f5cf43d4a4bca66860a05c805089ea4d7bb /time/fet
parentd68d7aa1e75519d4a0d5612f496792c21d2ff74c (diff)
downloadpkgsrc-9e7ea21a26d0a3ad98e0dbebdced9dbf138399d3.tar.gz
Import fet-5.23.1 as time/fet.
FET is open source free software for automatically scheduling the timetable of a school, high-school or university. It uses a fast and efficient timetabling algorithm. It is licensed under GNU GPL. Usually, FET is able to solve a complicated timetable in maximum 5-20 minutes. For simpler timetables, it may take a shorter time, under 5 minutes (in some cases, a matter of seconds). For extremely difficult timetables, it may take a longer time, a matter of hours.
Diffstat (limited to 'time/fet')
-rw-r--r--time/fet/DESCR8
-rw-r--r--time/fet/Makefile34
-rw-r--r--time/fet/PLIST5
-rw-r--r--time/fet/distinfo5
4 files changed, 52 insertions, 0 deletions
diff --git a/time/fet/DESCR b/time/fet/DESCR
new file mode 100644
index 00000000000..5b81451b973
--- /dev/null
+++ b/time/fet/DESCR
@@ -0,0 +1,8 @@
+FET is open source free software for automatically scheduling the
+timetable of a school, high-school or university. It uses a fast
+and efficient timetabling algorithm. It is licensed under GNU GPL.
+
+Usually, FET is able to solve a complicated timetable in maximum
+5-20 minutes. For simpler timetables, it may take a shorter time,
+under 5 minutes (in some cases, a matter of seconds). For extremely
+difficult timetables, it may take a longer time, a matter of hours.
diff --git a/time/fet/Makefile b/time/fet/Makefile
new file mode 100644
index 00000000000..3fea2b499bf
--- /dev/null
+++ b/time/fet/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2014/08/07 21:59:02 wiz Exp $
+
+DISTNAME= fet-5.23.1
+CATEGORIES= time
+MASTER_SITES= http://lalescu.ro/liviu/fet/download/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://lalescu.ro/liviu/fet/
+COMMENT= Automatically schedule timetables
+LICENSE= gnu-gpl-v2
+
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+USE_TOOLS+= bsdtar
+EXTRACT_USING= bsdtar
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/fet
+
+# conflicts with import.h in package itself
+post-extract:
+ rm -f ${WORK}/.buildlink/include/python*/import.h
+
+pre-build:
+ cd ${WRKSRC} && ${QTDIR}/bin/qmake
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/fet ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/fet-cl ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/doc/fet.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/fet
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qttools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/fet/PLIST b/time/fet/PLIST
new file mode 100644
index 00000000000..ae9c6103e26
--- /dev/null
+++ b/time/fet/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2014/08/07 21:59:02 wiz Exp $
+bin/fet
+bin/fet-cl
+man/man1/fet.1
+share/doc/fet/README
diff --git a/time/fet/distinfo b/time/fet/distinfo
new file mode 100644
index 00000000000..4fb55bdd9e3
--- /dev/null
+++ b/time/fet/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/08/07 21:59:02 wiz Exp $
+
+SHA1 (fet-5.23.1.tar.bz2) = 2dca265ffd286936dfcde52fa8a028c3a180af8c
+RMD160 (fet-5.23.1.tar.bz2) = e365d206ea2d44d99b45297e50edc5c3fde7fcbb
+Size (fet-5.23.1.tar.bz2) = 8463474 bytes