1999-04-16 21:25:57 +02:00
|
|
|
# New ports collection makefile for: ezbounce
|
|
|
|
# Date created: 19 February 1999
|
1999-06-19 10:26:18 +02:00
|
|
|
# Whom: Chris Piazza <cpiazza@FreeBSD.org>
|
1999-04-16 21:25:57 +02:00
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1999-04-16 21:25:57 +02:00
|
|
|
#
|
|
|
|
|
2000-04-12 08:28:35 +02:00
|
|
|
PORTNAME= ezbounce
|
2002-07-05 05:07:59 +02:00
|
|
|
PORTVERSION= 1.02
|
2002-11-19 00:19:46 +01:00
|
|
|
PORTREVISION= 1
|
1999-06-28 04:24:57 +02:00
|
|
|
CATEGORIES= irc
|
1999-08-07 20:55:50 +02:00
|
|
|
MASTER_SITES= http://druglord.freelsd.org/ezbounce/
|
1999-04-16 21:25:57 +02:00
|
|
|
|
2000-06-20 23:45:58 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1999-04-16 21:25:57 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2002-05-28 02:39:56 +02:00
|
|
|
MAN1= ezbounce.1
|
|
|
|
|
2002-05-30 04:57:49 +02:00
|
|
|
.if !defined(WITH_MDIDENTD)
|
2002-05-28 02:39:56 +02:00
|
|
|
ALL_TARGET= ezbounce_src
|
|
|
|
PLIST_SUB+= MDIDENTD="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= MDIDENTD=""
|
|
|
|
.endif
|
|
|
|
|
2000-12-22 17:55:05 +01:00
|
|
|
post-patch:
|
|
|
|
@${SED} -e "s:/path/to:${PREFIX}/sbin:" ${WRKSRC}/sample.conf > \
|
2002-05-28 02:39:56 +02:00
|
|
|
${WRKSRC}/ezb.conf.default
|
2000-12-22 17:55:05 +01:00
|
|
|
|
1999-04-16 21:25:57 +02:00
|
|
|
do-install:
|
2000-12-22 17:55:05 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ezbounce ${PREFIX}/sbin
|
2002-05-28 02:39:56 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ezb.conf.default ${PREFIX}/etc
|
2002-05-30 04:57:49 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/misc/ezbounce.1 ${PREFIX}/man/man1
|
2002-05-28 02:39:56 +02:00
|
|
|
|
2002-05-30 04:57:49 +02:00
|
|
|
.if defined(WITH_MDIDENTD)
|
2000-12-22 17:55:05 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mdidentd/mdidentd ${PREFIX}/sbin
|
|
|
|
.endif
|
2002-05-28 02:39:56 +02:00
|
|
|
|
2002-06-07 23:27:30 +02:00
|
|
|
@if [ ! -f ${PREFIX}/etc/ezb.conf ]; then \
|
|
|
|
${INSTALL_DATA} \
|
|
|
|
${WRKSRC}/ezb.conf.default ${PREFIX}/etc/ezb.conf; \
|
|
|
|
fi
|
2002-05-28 02:39:56 +02:00
|
|
|
|
2000-12-22 17:55:05 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/ezbounce
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/ezbounce
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ezbounce
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/ezbounce
|
2002-05-28 02:39:56 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/worklog ${PREFIX}/share/doc/ezbounce
|
|
|
|
|
2002-05-30 04:57:49 +02:00
|
|
|
.if defined(WITH_MDIDENTD)
|
2000-12-22 17:55:05 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/mdidentd/README \
|
|
|
|
${PREFIX}/share/doc/ezbounce/mdidentd.README
|
2002-05-28 02:39:56 +02:00
|
|
|
.endif
|
|
|
|
|
2000-12-22 17:55:05 +01:00
|
|
|
.endif
|
|
|
|
@${SED} -e "s:/usr/local:${PREFIX}:g" ${PKGMESSAGE}
|
1999-04-16 21:25:57 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|