freebsd-ports/japanese/ebnetd/Makefile
Baptiste Daroussin 7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00

48 lines
1.0 KiB
Makefile

# Created by: Motoyuki Kasahara <m-kasahr@sra.co.jp>
# $FreeBSD$
PORTNAME= ebnetd
PORTVERSION= 1.0
PORTREVISION= 11
CATEGORIES= japanese ipv6
MASTER_SITES= ftp://ftp.sra.co.jp/pub/misc/eb/
MAINTAINER= yasu@utahime.org
COMMENT= Servers for accessing CD-ROM books via TCP/IP
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libeb.so:japanese/eb
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=${RUNDIR} --with-logdir=${LOGDIR}
CONFIGURE_ENV= PERL=${PREFIX}/bin/perl
USERS= ${EBNETD_USER}
GROUPS= ${EBNETD_GROUP}
# Local variables
LOGDIR= /var/log
RUNDIR= /var/run
EBNETD_USER= ebnetd
EBNETD_GROUP= ebnetd
USE_RC_SUBR= ebhttpd ebnetd ndtpd
SUB_FILES= pkg-message
PLIST_SUB= EBNETD_RUNDIR=${RUNDIR}/${PORTNAME} \
EBNETD_USER=${EBNETD_USER} \
EBNETD_GROUP=${EBNETD_GROUP}
INFO= ebnetd ebnetd-ja
post-patch:
${REINPLACE_CMD} -e "s/%%EBNETD_USER%%/${EBNETD_USER}/" \
-e "s/%%EBNETD_GROUP%%/${EBNETD_GROUP}/" \
${WRKSRC}/ebnetd.conf.sample.in
post-install:
${MKDIR} -m 0755 ${STAGEDIR}${RUNDIR}/${PORTNAME}
.include <bsd.port.mk>