freebsd-ports/deskutils/fet/Makefile
Jason E. Hale cf5116463a - Update to 5.18.2
- Remove name of port from COMMENT
- Move LICENSE to correct location and mark it GPLv2 or GPLv3
- Respect MANPREFIX
- Add NLS option
- Whitespace cleanup
- Convert to new options framework
- Trim Makefile header
- Tab -> space in pkg-descr WWW line

PR:		Based on ports/168679
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
Approved by:	maintainer timeout (5 months)
		makc, avilla (mentors, implicit)
Feature safe:	yes
2012-11-08 11:21:37 +00:00

63 lines
1.4 KiB
Makefile

# Created by: Leinier Cruz Salfran <salfrancl@yahoo.es>
# $FreeBSD$
PORTNAME= fet
PORTVERSION= 5.18.2
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" \
"Application;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>