freebsd-ports/misc/kdeedu/Makefile
Stefan Eßer b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00

74 lines
2.6 KiB
Makefile

PORTNAME= kdeedu
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
CATEGORIES= misc education kde
MAINTAINER= kde@FreeBSD.org
COMMENT= Entertaining and educational programs for KDE (meta port)
WWW= https://www.kde.org
USES= kde:5 metaport
OPTIONS_DEFINE= ARTIKULATE BLINKEN CANTOR KALGEBRA KALZIUM KANAGRAM KBRUCH KGEOGRAPHY \
KHANGMAN KIG KITEN KLETTRES KMPLOT KTOUCH KTURTLE \
KWORDQUIZ MARBLE PAIRS PARLEY ROCS STEP
OPTIONS_DEFAULT= ARTIKULATE BLINKEN CANTOR KALGEBRA KALZIUM KANAGRAM KBRUCH KGEOGRAPHY \
KHANGMAN KITEN KLETTRES KMPLOT KTOUCH KTURTLE \
KWORDQUIZ MARBLE PAIRS PARLEY ROCS STEP
OPTIONS_DEFAULT_amd64= KIG
OPTIONS_DEFAULT_i386= KIG
ARTIKULATE_DESC= Pronunciation trainer
ARTIKULATE_RUN_DEPENDS= artikulate>=${KDE_APPLICATIONS_VERSION}:misc/artikulate
BLINKEN_DESC= Memory enhancement game
BLINKEN_RUN_DEPENDS= blinken>=${KDE_APPLICATIONS_VERSION}:games/blinken
CANTOR_DESC= Frontend to mathematical software
CANTOR_RUN_DEPENDS= cantor>=${KDE_APPLICATIONS_VERSION}:math/cantor
KALGEBRA_DESC= Graph calculator
KALGEBRA_RUN_DEPENDS= kalgebra>=${KDE_APPLICATIONS_VERSION}:math/kalgebra
KANAGRAM_DESC= Letter order game
KANAGRAM_RUN_DEPENDS= kanagram>=${KDE_APPLICATIONS_VERSION}:games/kanagram
KBRUCH_DESC= Application to exercise fractions
KBRUCH_RUN_DEPENDS= kbruch>=${KDE_APPLICATIONS_VERSION}:math/kbruch
KGEOGRAPHY_DESC= Geography trainer
KGEOGRAPHY_RUN_DEPENDS= kgeography>=${KDE_APPLICATIONS_VERSION}:misc/kgeography
KHANGMAN_DESC= Hangman game
KHANGMAN_RUN_DEPENDS= khangman>=${KDE_APPLICATIONS_VERSION}:games/khangman
KIG_DESC= Interactive geometry application
KIG_RUN_DEPENDS= kig>=${KDE_APPLICATIONS_VERSION}:math/kig
KITEN_DESC= Japanese reference/study tool
KITEN_RUN_DEPENDS= ja-kiten>=${KDE_APPLICATIONS_VERSION}:japanese/kiten
KLETTRES_DESC= Alphabet learning tool
KLETTRES_RUN_DEPENDS= klettres>=${KDE_APPLICATIONS_VERSION}:misc/klettres
KMPLOT_DESC= Mathematical function plotter
KMPLOT_RUN_DEPENDS= kmplot>=${KDE_APPLICATIONS_VERSION}:math/kmplot
KTURTLE_DESC= Educational programming environment
KTURTLE_RUN_DEPENDS= kturtle>=${KDE_APPLICATIONS_VERSION}:lang/kturtle
KWORDQUIZ_DESC= Flash card trainer
KWORDQUIZ_RUN_DEPENDS= kwordquiz>=${KDE_APPLICATIONS_VERSION}:misc/kwordquiz
MARBLE_DESC= Virtual globe and world atlas
MARBLE_RUN_DEPENDS= marble>=${KDE_APPLICATIONS_VERSION}:astro/marble
PARLEY_DESC= Vocabulary trainer
PARLEY_RUN_DEPENDS= parley>=${KDE_APPLICATIONS_VERSION}:misc/parley
ROCS_DESC= Graph teory IDE
ROCS_RUN_DEPENDS= rocs>=${KDE_APPLICATIONS_VERSION}:math/rocs
STEP_DESC= Interactive physics simulator
STEP_RUN_DEPENDS= step>=${KDE_APPLICATIONS_VERSION}:science/step
.include <bsd.port.mk>