- 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
This commit is contained in:
parent
8d1275d48a
commit
cf5116463a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307171
4 changed files with 66 additions and 29 deletions
|
@ -1,13 +1,8 @@
|
|||
# New ports collection makefile for: fet
|
||||
# Date created: 11 March 2010
|
||||
# Whom: Leinier Cruz Salfran <salfrancl@yahoo.es>
|
||||
#
|
||||
# Created by: Leinier Cruz Salfran <salfrancl@yahoo.es>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= fet
|
||||
PORTVERSION= 5.14.2
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 5.18.2
|
||||
CATEGORIES= deskutils kde
|
||||
MASTER_SITES= http://lalescu.ro/liviu/fet/download/ \
|
||||
http://lalescu.ro/liviu/fet/download/old/ \
|
||||
|
@ -15,44 +10,54 @@ MASTER_SITES= http://lalescu.ro/liviu/fet/download/ \
|
|||
http://timetabling.de/download/old/
|
||||
|
||||
MAINTAINER= salfrancl@yahoo.es
|
||||
COMMENT= FET is free timetabling software
|
||||
COMMENT= Free timetabling software
|
||||
|
||||
LICENSE= GPLv2 GPLv3
|
||||
LICENSE_COMB= dual
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_QT4= gui network qt3support xml \
|
||||
USE_QT4= gui network xml \
|
||||
moc_build qmake_build rcc_build uic_build
|
||||
HAS_CONFIGURE= yes
|
||||
QMAKE_ARGS= -unix PREFIX=${PREFIX} \
|
||||
INCLUDEPATH+=${LOCALBASE}/include \
|
||||
LIBS+=-L${LOCALBASE}/lib
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
PLIST_FILES= bin/fet
|
||||
MAN1= fet.1
|
||||
.ifndef(NOPORTEXAMPLES)
|
||||
|
||||
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
|
||||
|
||||
DESKTOP_ENTRIES= "FET" \
|
||||
"Free timetable software" \
|
||||
"" \
|
||||
"fet" \
|
||||
"Application;Education;Qt;" \
|
||||
true
|
||||
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:
|
||||
${MKDIR} ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/fet ${PREFIX}/bin
|
||||
${MKDIR} ${PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/fet.1 ${PREFIX}/man/man1
|
||||
.ifndef(NOPORTEXAMPLES)
|
||||
${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>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (fet-5.14.2.tar.bz2) = fc6849ef410936f7167a1683608228c89ddd9d6caaee3c7b8b6b6fdebd3ca2f9
|
||||
SIZE (fet-5.14.2.tar.bz2) = 5972903
|
||||
SHA256 (fet-5.18.2.tar.bz2) = bead2ff4bd67733e26c81973a8fac3fcb0f08e22a2450d6c971ecf2c7e39fea8
|
||||
SIZE (fet-5.18.2.tar.bz2) = 7676275
|
||||
|
|
|
@ -10,4 +10,4 @@ difficult timetables, it may take a longer time, a matter of hours.
|
|||
FET can mean "Free Educational Timetabling" (the "E" in the middle
|
||||
may also stand for other words, based on your personal preference).
|
||||
|
||||
WWW: http://lalescu.ro/liviu/fet/
|
||||
WWW: http://lalescu.ro/liviu/fet/
|
||||
|
|
32
deskutils/fet/pkg-plist
Normal file
32
deskutils/fet/pkg-plist
Normal file
|
@ -0,0 +1,32 @@
|
|||
bin/fet
|
||||
%%NLS%%%%DATADIR%%/translations/fet_ar.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_ca.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_da.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_de.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_el.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_es.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_fa.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_fr.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_gl.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_he.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_hu.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_id.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_it.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_lt.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_mk.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_ms.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_nl.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_pl.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_pt_BR.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_ro.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_ru.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_si.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_sk.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_sr.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_tr.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_uk.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_untranslated.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_uz.qm
|
||||
%%NLS%%%%DATADIR%%/translations/fet_vi.qm
|
||||
%%NLS%%@dirrm %%DATADIR%%/translations
|
||||
%%NLS%%@dirrm %%DATADIR%%
|
Loading…
Reference in a new issue