1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/sysutils/daemontools-encore/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

101 lines
2.1 KiB
Makefile

PORTNAME= daemontools-encore
PORTVERSION= 1.11
CATEGORIES= sysutils
MASTER_SITES= http://untroubled.org/daemontools-encore/
MAINTAINER= ports@FreeBSD.org
COMMENT= Collection of tools for managing Unix services
WWW= https://untroubled.org/daemontools-encore/
LICENSE= MIT
USES= gmake
CONFLICTS= daemontools freedt serialmail
ALL_TARGET= default
S_EARLY_DESC= Start early, before the normal daemons
S_NORMAL_DESC= Start normally in the usual boot sequence
OPTIONS_SINGLE= SEQ
OPTIONS_SINGLE_SEQ= S_EARLY S_NORMAL
OPTIONS_DEFAULT= S_NORMAL
.include <bsd.port.options.mk>
. if ${PORT_OPTIONS:MS_EARLY}
SVSCAN_REQUIRE?= SERVERS
SVSCAN_BEFORE?= DAEMON
. endif
. if ${PORT_OPTIONS:MS_NORMAL}
SVSCAN_REQUIRE?= LOGIN
SVSCAN_BEFORE?=
. endif
SUB_LIST+= SVSCAN_REQUIRE=${SVSCAN_REQUIRE} SVSCAN_BEFORE=${SVSCAN_BEFORE}
USE_RC_SUBR= svscan
MANFILES= \
envdir.8 \
envuidgid.8 \
fghack.8 \
multilog.8 \
pgrphack.8 \
readproctitle.8 \
setlock.8 \
setuidgid.8 \
softlimit.8 \
supervise.8 \
svc.8 \
svok.8 \
svscan.8 \
svscanboot.8 \
svstat.8 \
svup.8 \
tai64n.8 \
tai64nlocal.8
PLIST_FILES= \
bin/envdir \
bin/envuidgid \
bin/fghack \
bin/multilog \
bin/pgrphack \
bin/readproctitle \
bin/setlock \
bin/setuidgid \
bin/softlimit \
bin/supervise \
bin/svc \
bin/svok \
bin/svscan \
bin/svscanboot \
bin/svstat \
bin/svup \
bin/tai64n \
bin/tai64nlocal \
%%DOCSDIR%%/README \
%%DOCSDIR%%/LICENSE \
%%DOCSDIR%%/CHANGES \
%%DOCSDIR%%/CHANGES.djb \
${MANFILES:S,^,man/man8/,:S,$,.gz,}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/svscanboot.sh ${STAGEDIR}${PREFIX}/bin/svscanboot
.for binfile in envdir envuidgid fghack multilog pgrphack readproctitle setlock setuidgid softlimit supervise svc svok svscan svstat svup tai64n tai64nlocal
${INSTALL_PROGRAM} ${WRKSRC}/${binfile} ${STAGEDIR}${PREFIX}/bin/
.endfor
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docfile in README LICENSE CHANGES CHANGES.djb
${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
.endfor
.for manfile in ${MANFILES}
${INSTALL_MAN} ${WRKSRC}/${manfile} ${STAGEDIR}${MAN1PREFIX}/man/man8/
.endfor
.include <bsd.port.mk>