freebsd-ports/security/xinetd/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

39 lines
1.1 KiB
Makefile

# Created by: markm
# $FreeBSD$
PORTNAME= xinetd
PORTVERSION= 2.3.15
PORTREVISION= 1
CATEGORIES= security ipv6
MASTER_SITES= GENTOO
MAINTAINER= sem@FreeBSD.org
COMMENT= Replacement for inetd with better control and logging
GNU_CONFIGURE= yes
USE_RC_SUBR= xinetd
ALL_TARGET= build
CONFIGURE_ARGS+= --with-loadavg
USES= cpe shebangfix perl5
USE_PERL5= run
SHEBANG_FILES= ${WRKSRC}/xinetd/xconv.pl
OPTIONS_DEFINE= IPV6 LIBWRAP
OPTIONS_DEFAULT= LIBWRAP
IPV6_CONFIGURE_WITH= ipv6
LIBWRAP_CONFIGURE_WITH= libwrap
post-patch:
@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/xinetd/xconfig.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xinetd/xinetd ${STAGEDIR}${PREFIX}/sbin/xinetd
${INSTALL_SCRIPT} ${WRKSRC}/xinetd/xconv.pl ${STAGEDIR}${PREFIX}/bin/xconv
${INSTALL_MAN} ${WRKSRC}/xinetd/xinetd.conf.man ${STAGEDIR}${PREFIX}/man/man5/xinetd.conf.5
${INSTALL_MAN} ${WRKSRC}/xinetd/xconv.pl.8 ${STAGEDIR}${PREFIX}/man/man8/xconv.8
${INSTALL_MAN} ${WRKSRC}/xinetd/xinetd.man ${STAGEDIR}${PREFIX}/man/man8/xinetd.8
${INSTALL_MAN} ${WRKSRC}/xinetd/xinetd.log.man ${STAGEDIR}${PREFIX}/man/man8/xinetd.log.8
.include <bsd.port.mk>