openbsd-ports/productivity/fet/Makefile
2011-11-03 22:21:21 +00:00

49 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.14 2011/11/03 22:21:21 jasper Exp $
COMMENT= automatically create timetables
DISTNAME= fet-5.14.1
REVISION= 1
CATEGORIES= productivity x11
HOMEPAGE= http://www.lalescu.ro/liviu/fet/
# GPLv2
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB += Qt3Support QtGui QtNetwork QtSql QtXml c m pthread
WANTLIB += stdc++
MASTER_SITES= ${HOMEPAGE}/download/ \
http://timetabling.de/download/
EXTRACT_SUFX= .tar.bz2
MODULES= devel/gettext \
x11/qt4
LIB_DEPENDS= x11/qt4
USE_GROFF = Yes
PORTHOME= ${WRKDIR}
NO_REGRESS= Yes
do-configure:
cd ${WRKSRC} && ${LOCALBASE}/bin/qmake4 fet.pro
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fet ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fet
${INSTALL_DATA} ${WRKSRC}/doc/algorithm/* \
${PREFIX}/share/doc/fet
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fet
cd ${WRKSRC}/examples/ && umask 022 && pax -rw . \
${PREFIX}/share/examples/fet
${INSTALL_MAN} ${WRKSRC}/doc/fet.1 ${PREFIX}/man/man1
.include <bsd.port.mk>