pkgsrc/time/fet/Makefile
2015-04-06 08:17:13 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2015/04/06 08:17:38 adam Exp $
DISTNAME= fet-5.25.0
PKGREVISION= 2
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
.include "../../mk/bsd.prefs.mk"
CFLAGS+= ${CLANG_NO_VALUE_PROPAGATION_PASS}
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"