aboutsummaryrefslogtreecommitdiff
path: root/deskutils/calendar
Commit message (Collapse)AuthorAgeFilesLines
* Remove WWW entries moved into port MakefilesStefan Eßer2022-09-071-2/+0
| | | | | | | | | | Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)
* Add WWW entries to port MakefilesStefan Eßer2022-09-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* deskutils/calendar: update to version 0.9.3Stefan Eßer2022-08-082-4/+4
| | | | | | | | | Update the man page to match the version the -CURRENT base system. The only change is a better description of the // single line comment syntax, i.e. that // is only considered to start a comment when it appears at the start of the line or after white space. This allows to embed URLs in calendar entries.
* deskutils/calendar: Fix non-NLS build and allw // in entriesStefan Eßer2021-06-072-4/+4
| | | | | | | | | | The C++-style comment marker "//" has been added with the rewrite of the preprocessor features. Since this character sequence occurs in ULRS, the reminder of the URL was considered a comment and stripped from the calendar line. Change parsing of "//" to only start a comment at the begin of a line or when preceded by a white-space character.
* One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0
| | | | Reported by: lwhsu
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* Fetch from my repository to simplify portStefan Eßer2020-11-0713-949/+25
| | | | | | | | | | | | | | | | | | | Instead of fetching from a repository that was created based on a version that did not include the pre-processor enhancements applied to -CURRENT and patching to include them, fetch from a repository that has a copy of the latest sources. This change allows to remove the large number of complex patch files from the port and will simplify further updates. It is planned to make the port fetch from an official FreeBSD repository as soon as it is available with up-to-date sources from -CURRENT. No port revision bump since this is only a change to the build process and not the generated package. Notes: svn path=/head/; revision=554387
* Update to FreeBSD base SVN revision r367364Stefan Eßer2020-11-069-95/+353
| | | | | | | | This upgrade improves the compatibility with prior versions that used cpp to pre-process the calendar files.. Notes: svn path=/head/; revision=554325
* Update to -CURRENT SVN rev. r367293Stefan Eßer2020-11-033-23/+91
| | | | | | | | | | | | | | | | | | | This version processes conditionals with similar restrictions as were effective when the data files were piped through the C pre-processor. Specifically, only the first word after #define is considered as the name being defined. An error is signalled if more than one word is found as argument of #ifdef, #ifndef, or #undef. All calendar files distributed with FreeBSD or in the deskutils/calendar port comply with the newly enforced syntax checks. Dates are now printed as defined for the locale of the user, not as defined by a LANG= assignment in a data file, which is now only considered for character-set translations (if ICONV is set to its default value of ON). Notes: svn path=/head/; revision=554037
* Update to -CURRENT SVN rev. r367255Stefan Eßer2020-11-014-15/+26
| | | | | | | Fix error position reporting for calendar data files in system directories Notes: svn path=/head/; revision=553859
* Pass _PATH_LOCALBASE correctly quoted to the buildStefan Eßer2020-11-013-10/+6
| | | | Notes: svn path=/head/; revision=553828
* Update to FreeBSD-CURRENT base SVN revision r367207Stefan Eßer2020-10-314-35/+175
| | | | | | | | | | | | | | | | This update improves the internal pre-processor and makes it report data file issues with filename and line number of the failed commend. Several tests have been added to detect unmatched condition directives (e.g. #endif or #else without prior #ifdef or #ifndef). An #undef command has been added since it occurs in one of the calendar files tradionally distributed with FreeBSD (and now in the deskutils/calendar-data port). This update adds a default definition of _PATH_LOCALBASE that is required to build the port on systems that do not define it in paths.h. Notes: svn path=/head/; revision=553773
* Upgrade to to FreeBSD base SVN revision r367173Stefan Eßer2020-10-304-5/+47
| | | | | | | | | The order of events printed was reversed due to the way a link list was updated. This version prints the events in the order they appear in in the data file. Notes: svn path=/head/; revision=553710
* Update to FreeBSD SVN revision r367167Stefan Eßer2020-10-305-30/+205
| | | | | | | | This update implements comment handling lost when calendar was changed from using an external cpp to an internal pre-processor Notes: svn path=/head/; revision=553696
* Upgrade to FreeBSD base SVN version r367127.Stefan Eßer2020-10-295-113/+57
| | | | | | | | This upgrade fixes the loading von included files from users' home directories for calendar -a. Notes: svn path=/head/; revision=553607
* Update man-page to cover newly introduced features.Stefan Eßer2020-10-281-0/+77
| | | | Notes: svn path=/head/; revision=553565
* Bump portversion, forgotten in previous commitStefan Eßer2020-10-281-1/+1
| | | | Notes: svn path=/head/; revision=553564
* Upgrade to FreeBSD base SVN version r367108Stefan Eßer2020-10-281-15/+107
| | | | | | | This version add support for nested conditionals, #ifdef and #else. Notes: svn path=/head/; revision=553563
* Port of the FreeBSD calendar program from -CURRENTStefan Eßer2020-10-257-0/+213
This version of the calendar program includes data file locations populated by the calendar-data port in the search path. It is meant to provide this feature to users of FreeBSD releases that have not received the updated calendar program, yet. Development of the calendar program will continue in the base system and the port will be updated to reflect changes made to the calendar program in FreeBSD-CURRENT. Different from the version in -CURRENT this port does not warn about missing calendar files provided by the calendar-data port since it has this port declared as a run-time dependency and it can therefore be assumed that the data port has been installed with this port. This port uses a preliminary location for the repository to fetch from. It is expected to be updated to an official repository with updated sources that eliminate the need for the patches that are currently required. Notes: svn path=/head/; revision=553259