1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/deskutils/fet/Makefile
2013-01-23 15:00:18 +00:00

65 lines
1.4 KiB
Makefile

# Created by: Leinier Cruz Salfran <salfrancl@yahoo.es>
# $FreeBSD$
PORTNAME= fet
PORTVERSION= 5.18.2
PORTREVISION= 1
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
USE_BZIP2= yes
USE_QT4= gui network xml \
moc_build qmake_build rcc_build uic_build
HAS_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
MAN1= fet.1
PORTEXAMPLES= *
DESKTOP_ENTRIES="FET" \
"Free timetable software" \
"" \
"fet" \
"Education;Qt;" \
true
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
${REINPLACE_CMD} -e 's|/usr/share/fet|${DATADIR}|g' \
${WRKSRC}/src/interface/fet.cpp
do-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fet ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/fet.1 ${MANPREFIX}/man/man1
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \. ${EXAMPLESDIR}
.endif
.if ${PORT_OPTIONS:MNLS}
${MKDIR} ${DATADIR}/translations
cd ${WRKSRC}/translations && ${INSTALL_DATA} *.qm ${DATADIR}/translations
.endif
.include <bsd.port.mk>