- Fix build with clang [1] - Remove conditional installation of files PR: ports/185144 [1] Submitted by: Zsolt Udvari <udvzsolt@gmail.com> Approved by: maintainer timeout
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# Created by: Leinier Cruz Salfran <salfrancl@yahoo.es>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fet
|
|
PORTVERSION= 5.21.0
|
|
CATEGORIES= deskutils kde
|
|
MASTER_SITES= http://lalescu.ro/liviu/fet/download/ \
|
|
http://lalescu.ro/liviu/fet/download/old/ \
|
|
http://timetabling.de/download/ \
|
|
http://timetabling.de/download/old/
|
|
|
|
MAINTAINER= salfrancl@yahoo.es
|
|
COMMENT= Free timetabling software
|
|
|
|
LICENSE= GPLv2 GPLv3
|
|
LICENSE_COMB= dual
|
|
|
|
USES= qmake
|
|
USE_BZIP2= yes
|
|
USE_QT4= gui network xml \
|
|
moc_build rcc_build uic_build
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
DESKTOP_ENTRIES="FET" \
|
|
"Free timetable software" \
|
|
"" \
|
|
"fet" \
|
|
"Education;Qt;" \
|
|
true
|
|
|
|
OPTIONS_DEFINE= EXAMPLES NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|/usr/share/fet|${DATADIR}|g' \
|
|
${WRKSRC}/src/interface/fet.cpp
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fet ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fet-cl ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/fet.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \. ${STAGEDIR}${EXAMPLESDIR}
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/translations
|
|
cd ${WRKSRC}/translations && ${INSTALL_DATA} *.qm ${STAGEDIR}${DATADIR}/translations
|
|
|
|
.include <bsd.port.mk>
|