aboutsummaryrefslogtreecommitdiff
path: root/irc/ezbounce-devel
diff options
context:
space:
mode:
authorGregory Sutter <gsutter@FreeBSD.org>2002-05-28 00:39:56 +0000
committerGregory Sutter <gsutter@FreeBSD.org>2002-05-28 00:39:56 +0000
commit55fb0891441d78017b391f0f2ff484dee5fc9b7a (patch)
tree0ebc78169478711529b9cf192b43af23bea7cdeb /irc/ezbounce-devel
parentd714bbec5acb4aff7d0c7dad6339ae469a04becd (diff)
downloadports-55fb0891441d78017b391f0f2ff484dee5fc9b7a.tar.gz
ports-55fb0891441d78017b391f0f2ff484dee5fc9b7a.zip
Notes
Diffstat (limited to 'irc/ezbounce-devel')
-rw-r--r--irc/ezbounce-devel/Makefile31
-rw-r--r--irc/ezbounce-devel/distinfo2
-rw-r--r--irc/ezbounce-devel/pkg-message6
-rw-r--r--irc/ezbounce-devel/pkg-plist11
4 files changed, 34 insertions, 16 deletions
diff --git a/irc/ezbounce-devel/Makefile b/irc/ezbounce-devel/Makefile
index 4ff24d140f70..113a71f425cd 100644
--- a/irc/ezbounce-devel/Makefile
+++ b/irc/ezbounce-devel/Makefile
@@ -6,34 +6,53 @@
#
PORTNAME= ezbounce
-PORTVERSION= 0.99.12
+PORTVERSION= 1.0
CATEGORIES= irc
MASTER_SITES= http://druglord.freelsd.org/ezbounce/
+DISTFILES= ${DISTNAME}-release${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
GNU_CONFIGURE= yes
+MAN1= ezbounce.1
+
+.if !defined(WANT_MDIDENTD)
+ALL_TARGET= ezbounce_src
+PLIST_SUB+= MDIDENTD="@comment "
+.else
+PLIST_SUB+= MDIDENTD=""
+.endif
+
post-patch:
@${SED} -e "s:/path/to:${PREFIX}/sbin:" ${WRKSRC}/sample.conf > \
- ${WRKSRC}/ezbounce.conf.default
+ ${WRKSRC}/ezb.conf.default
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ezbounce ${PREFIX}/sbin
+ ${INSTALL_SCRIPT} ${WRKSRC}/ezb.conf.default ${PREFIX}/etc
+
+.if defined(WANT_MDIDENTD)
${INSTALL_PROGRAM} ${WRKSRC}/mdidentd/mdidentd ${PREFIX}/sbin
- ${INSTALL_SCRIPT} ${WRKSRC}/ezbounce.conf.default ${PREFIX}/etc
-.if !exists(${PREFIX}/etc/ezbounce.conf)
- ${INSTALL_SCRIPT} ${WRKSRC}/ezbounce.conf.default \
- ${PREFIX}/etc/ezbounce.conf
.endif
+
+@if [ ! -f ${PREFIX}/etc/ezb.conf ] ${INSTALL_SCRIPT} \
+ ${WRKSRC}/ezb.conf.default ${PREFIX}/etc/ezb.conf
+
.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
+ ${INSTALL_DATA} ${WRKSRC}/worklog ${PREFIX}/share/doc/ezbounce
+ ${INSTALL_MAN} ${WRKSRC}/misc/ezbounce.1 ${PREFIX}/man/man1
+
+.if defined(WANT_MDIDENTD)
${INSTALL_DATA} ${WRKSRC}/mdidentd/README \
${PREFIX}/share/doc/ezbounce/mdidentd.README
.endif
+
+.endif
@${SED} -e "s:/usr/local:${PREFIX}:g" ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/irc/ezbounce-devel/distinfo b/irc/ezbounce-devel/distinfo
index 665312c7a325..0e4ba274b67f 100644
--- a/irc/ezbounce-devel/distinfo
+++ b/irc/ezbounce-devel/distinfo
@@ -1 +1 @@
-MD5 (ezbounce-0.99.12.tar.gz) = 9bd0bed5b0240f495d281754ff3d6108
+MD5 (ezbounce-1.0-release.tar.gz) = ed50798896dce024ebd881a5975ed1c1
diff --git a/irc/ezbounce-devel/pkg-message b/irc/ezbounce-devel/pkg-message
index d296c6d75f4d..1b514d2563ec 100644
--- a/irc/ezbounce-devel/pkg-message
+++ b/irc/ezbounce-devel/pkg-message
@@ -1,6 +1,4 @@
------------------------------------------------------------------
-You will need to read /usr/local/share/doc/ezbounce/README
-and /usr/local/share/doc/ezbounce/mdidentd.README to set up
-this program.
-Also, edit /usr/local/etc/ezbounce.conf to your liking.
+You will need to edit /usr/local/etc/ezb.conf and read the docs in
+/usr/local/share/doc/ezbounce/README to set up this program.
------------------------------------------------------------------
diff --git a/irc/ezbounce-devel/pkg-plist b/irc/ezbounce-devel/pkg-plist
index 2114f82b49c4..8d5793a25083 100644
--- a/irc/ezbounce-devel/pkg-plist
+++ b/irc/ezbounce-devel/pkg-plist
@@ -1,10 +1,11 @@
-@unexec if [ -f %D/etc/ezbounce.conf ] && cmp -s %D/etc/ezbounce.conf %D/etc/ezbounce.conf.default; then rm -f %D/etc/ezbounce.conf; fi
-etc/ezbounce.conf.default
-@exec if [ ! -f %D/etc/ezbounce.conf ] ; then cp -p %D/%F %B/ezbounce.conf; fi
+@unexec if [ -f %D/etc/ezb.conf ] && cmp -s %D/etc/ezb.conf %D/etc/ezb.conf.default; then rm -f %D/etc/ezb.conf; fi
+etc/ezb.conf.default
+@exec if [ ! -f %D/etc/ezb.conf ] ; then cp -p %D/%F %B/ezb.conf; fi
sbin/ezbounce
-sbin/mdidentd
+%%MDIDENTD%%sbin/mdidentd
%%PORTDOCS%%share/doc/ezbounce/CHANGES
%%PORTDOCS%%share/doc/ezbounce/README
%%PORTDOCS%%share/doc/ezbounce/TODO
-%%PORTDOCS%%share/doc/ezbounce/mdidentd.README
+%%PORTDOCS%%share/doc/ezbounce/worklog
+%%MDIDENTD%%%%PORTDOCS%%share/doc/ezbounce/mdidentd.README
%%PORTDOCS%%@dirrm share/doc/ezbounce