pkgsrc/time/fet/Makefile
wiz f6c8e74f18 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.
2014-08-07 21:59:02 +00:00

34 lines
1,002 B
Makefile

# $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"