1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/chinese/pcmanx/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

53 lines
1.5 KiB
Makefile

PORTNAME= pcmanx
PORTVERSION= 1.3
PORTREVISION= 2
CATEGORIES= chinese net gnome
MASTER_SITES= https://github.com/pcman-bbs/${PORTNAME}/releases/download/${PORTVERSION}/
DISTNAME= ${PORTNAME}-gtk2-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= BBS client using GTK+ 2.x
WWW= https://github.com/pcman-bbs/pcmanx
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c++11-lang gmake gnome iconv pkgconfig tar:xz
GNU_CONFIGURE= yes
USE_GNOME= gtk20 intlhack
OPTIONS_DEFINE= NLS DEBUG DOCKLET NOTIFIER LIBNOTIFY NANCY MOUSE EXTERNAL IPLOOKUP PROXY
OPTIONS_DEFAULT= DOCKLET NOTIFIER NANCY MOUSE EXTERNAL
OPTIONS_SUB= yes
DOCKLET_DESC= Docklet / system tray support
NOTIFIER_DESC= Popup notifier support
LIBNOTIFY_DESC= Popup notifier support by libnotify
NANCY_DESC= Nancy bot support
MOUSE_DESC= Mouse click and wheel support
EXTERNAL_DESC= External SSH/Telnet support
IPLOOKUP_DESC= IP location lookup support
NLS_USES= gettext
NLS_USES_OFF= gettext-tools
NLS_CPPFLAGS= -I${LOCALBASE}/include
NLS_LDFLAGS= -L${LOCALBASE}/lib
NLS_CONFIGURE_ENABLE=nls
DEBUG_CONFIGURE_ENABLE= debug
DOCKLET_CONFIGURE_ENABLE= docklet
NOTIFIER_CONFIGURE_ENABLE= notifier
LIBNOTIFY_CONFIGURE_ENABLE= libnotify
LIBNOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
NANCY_CONFIGURE_ENABLE= nancy
MOUSE_CONFIGURE_ENABLE= mouse
EXTERNAL_CONFIGURE_ENABLE= external
IPLOOKUP_CONFIGURE_ENABLE= iplookup
PROXY_CONFIGURE_ENABLE= proxy
post-install:
${MKDIR} ${STAGEDIR}${DATADIR}/script/
.include <bsd.port.mk>