summaryrefslogtreecommitdiff
path: root/time/fet/Makefile
blob: e423ef27dc2d427cfeb73533ce84c6d63510e3a9 (plain)
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
# $NetBSD: Makefile,v 1.55 2022/09/11 12:52:08 wiz Exp $

DISTNAME=	fet-5.25.0
PKGREVISION=	46
CATEGORIES=	time
MASTER_SITES=	https://lalescu.ro/liviu/fet/download/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://lalescu.ro/liviu/fet/
COMMENT=	Automatically schedule timetables
LICENSE=	gnu-gpl-v2

.include "../../mk/bsd.prefs.mk"

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
pre-build:
	rm -f ${WRKDIR}/.buildlink/include/python*/import.h
	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}/man/fet.1.gz ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_DATA} ${WRKSRC}/man/fet-cl.1.gz ${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"