2000-04-02 06:20:46 +02:00
|
|
|
# New ports collection makefile for: oidentd
|
|
|
|
# Date created: 29 Mar 2000
|
2003-11-13 11:11:35 +01:00
|
|
|
# Whom: Trevor Johnson
|
2000-04-02 06:20:46 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 20:34:06 +02:00
|
|
|
PORTNAME= oidentd
|
2006-05-23 06:25:03 +02:00
|
|
|
PORTVERSION= 2.0.8
|
2000-05-21 14:32:03 +02:00
|
|
|
CATEGORIES= security
|
2001-04-10 08:21:34 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2000-06-14 15:21:38 +02:00
|
|
|
MASTER_SITE_SUBDIR= ojnk
|
2000-04-02 06:20:46 +02:00
|
|
|
|
2003-07-14 18:15:05 +02:00
|
|
|
MAINTAINER= oliver@FreeBSD.org
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= Ident server that supports user-defined ident strings
|
2000-04-02 06:20:46 +02:00
|
|
|
|
2004-10-15 19:44:18 +02:00
|
|
|
USE_RC_SUBR= yes
|
2006-05-23 06:25:03 +02:00
|
|
|
USE_GETOPT_LONG=yes
|
2000-04-02 06:20:46 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-01-31 14:32:34 +01:00
|
|
|
|
2001-12-24 07:03:27 +01:00
|
|
|
MAN5= oidentd.conf.5 oidentd_masq.conf.5
|
2000-04-02 07:07:17 +02:00
|
|
|
MAN8= oidentd.8
|
2004-03-25 19:53:48 +01:00
|
|
|
PLIST_FILES= sbin/oidentd etc/rc.d/oidentd.sh etc/oidentd.conf.sample \
|
|
|
|
etc/oidentd_masq.conf.sample
|
2000-04-02 06:20:46 +02:00
|
|
|
|
2004-02-07 08:48:29 +01:00
|
|
|
post-patch:
|
2004-02-07 13:03:35 +01:00
|
|
|
@${REINPLACE_CMD} -e 's,/etc/,${PREFIX}&,g' ${WRKSRC}/src/oidentd.h
|
2004-01-31 14:32:34 +01:00
|
|
|
|
|
|
|
post-build:
|
|
|
|
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
|
|
|
|
-e 's,%%RC_SUBR%%,${RC_SUBR},g' \
|
|
|
|
<${FILESDIR}/oidentd.sh >${WRKDIR}/oidentd.sh
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/oidentd ${PREFIX}/sbin
|
|
|
|
${INSTALL_DATA} ${MAN5:S,^,${FILESDIR}/,:S,5$,sample,} ${PREFIX}/etc
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/oidentd.sh ${PREFIX}/etc/rc.d
|
2004-10-15 19:44:18 +02:00
|
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
|
|
.for MANFILE in ${MAN5} ${MAN8}
|
|
|
|
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/doc/${MANFILE}
|
|
|
|
.endfor
|
2004-01-31 14:32:34 +01:00
|
|
|
${INSTALL_MAN} ${MAN5:S,^,${WRKSRC}/doc/,} ${PREFIX}/man/man5
|
|
|
|
${INSTALL_MAN} ${MAN8:S,^,${WRKSRC}/doc/,} ${PREFIX}/man/man8
|
2004-10-15 19:44:18 +02:00
|
|
|
.endif
|
2004-01-31 14:32:34 +01:00
|
|
|
|
2004-10-15 19:44:18 +02:00
|
|
|
.include <bsd.port.mk>
|