aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-12-22 16:55:05 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-12-22 16:55:05 +0000
commit21c2cf2fb5a93c931daaf92493d431a2f99c7ebf (patch)
treeb359acf92069799235df86785f7ce23127f2ee6d /irc
parentde1342f315ecce899341b962961f4ec4841399ea (diff)
downloadports-21c2cf2fb5a93c931daaf92493d431a2f99c7ebf.tar.gz
ports-21c2cf2fb5a93c931daaf92493d431a2f99c7ebf.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/ezbounce-devel/Makefile38
-rw-r--r--irc/ezbounce-devel/distinfo2
-rw-r--r--irc/ezbounce-devel/pkg-message6
-rw-r--r--irc/ezbounce-devel/pkg-plist9
-rw-r--r--irc/ezbounce/Makefile38
-rw-r--r--irc/ezbounce/distinfo2
-rw-r--r--irc/ezbounce/pkg-message6
-rw-r--r--irc/ezbounce/pkg-plist9
8 files changed, 70 insertions, 40 deletions
diff --git a/irc/ezbounce-devel/Makefile b/irc/ezbounce-devel/Makefile
index 2cdffb6d9aff..209e3fd1ca90 100644
--- a/irc/ezbounce-devel/Makefile
+++ b/irc/ezbounce-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ezbounce
-PORTVERSION= 0.99.7
+PORTVERSION= 0.99.10
CATEGORIES= irc
MASTER_SITES= http://druglord.freelsd.org/ezbounce/
@@ -14,22 +14,26 @@ MAINTAINER= ports@FreeBSD.org
GNU_CONFIGURE= yes
+post-patch:
+ @${SED} -e "s:/path/to:${PREFIX}/sbin:" ${WRKSRC}/sample.conf > \
+ ${WRKSRC}/ezbounce.conf.default
+
do-install:
- @ ${ECHO} ------------------------------------------------------------------
- @ ${ECHO} You will need to read http://druglord.freelsd.org/ezbounce/README
- @ ${ECHO} and http://druglord.freelsd.org/ezbounce/mdidentd.README
- @ ${ECHO} to set up this program.
- @ ${ECHO} Also, edit ${PREFIX}/etc/ezbounce.conf to your liking.
- @ ${ECHO} ------------------------------------------------------------------
- ${INSTALL_PROGRAM} -C ${WRKSRC}/ezbounce ${PREFIX}/sbin
- ${INSTALL_PROGRAM} -C ${WRKSRC}/mdidentd/mdidentd ${PREFIX}/sbin
- @ ${SED} -e s:/path/to:${PREFIX}/sbin: ${WRKSRC}/sample.conf > \
- ${WRKSRC}/sample.conf.new
- if [ ! -f ${PREFIX}/etc/ezbounce.conf ]; then \
- ${INSTALL_SCRIPT} -C ${WRKSRC}/sample.conf.new \
- ${PREFIX}/etc/ezbounce.conf; \
- fi
- ${INSTALL_SCRIPT} -C ${WRKSRC}/sample.conf.new \
- ${PREFIX}/etc/ezbounce.conf.default
+ ${INSTALL_PROGRAM} ${WRKSRC}/ezbounce ${PREFIX}/sbin
+ ${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 !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}/mdidentd/README \
+ ${PREFIX}/share/doc/ezbounce/mdidentd.README
+.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 9967d2e2866c..91d3635331a1 100644
--- a/irc/ezbounce-devel/distinfo
+++ b/irc/ezbounce-devel/distinfo
@@ -1 +1 @@
-MD5 (ezbounce-0.99.7.tar.gz) = 84440b42fda69fd2e7bb7663376d60c5
+MD5 (ezbounce-0.99.10.tar.gz) = e0c58bed6ef84334d948dd905ecafefb
diff --git a/irc/ezbounce-devel/pkg-message b/irc/ezbounce-devel/pkg-message
new file mode 100644
index 000000000000..d296c6d75f4d
--- /dev/null
+++ b/irc/ezbounce-devel/pkg-message
@@ -0,0 +1,6 @@
+------------------------------------------------------------------
+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.
+------------------------------------------------------------------
diff --git a/irc/ezbounce-devel/pkg-plist b/irc/ezbounce-devel/pkg-plist
index 4874fcf50161..c0525dc983e7 100644
--- a/irc/ezbounce-devel/pkg-plist
+++ b/irc/ezbounce-devel/pkg-plist
@@ -1,5 +1,10 @@
-sbin/ezbounce
-sbin/mdidentd
@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
+sbin/ezbounce
+sbin/mdidentd
+share/doc/ezbounce/CHANGES
+share/doc/ezbounce/README
+share/doc/ezbounce/TODO
+share/doc/ezbounce/mdidentd.README
+@dirrm share/doc/ezbounce
diff --git a/irc/ezbounce/Makefile b/irc/ezbounce/Makefile
index 2cdffb6d9aff..209e3fd1ca90 100644
--- a/irc/ezbounce/Makefile
+++ b/irc/ezbounce/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ezbounce
-PORTVERSION= 0.99.7
+PORTVERSION= 0.99.10
CATEGORIES= irc
MASTER_SITES= http://druglord.freelsd.org/ezbounce/
@@ -14,22 +14,26 @@ MAINTAINER= ports@FreeBSD.org
GNU_CONFIGURE= yes
+post-patch:
+ @${SED} -e "s:/path/to:${PREFIX}/sbin:" ${WRKSRC}/sample.conf > \
+ ${WRKSRC}/ezbounce.conf.default
+
do-install:
- @ ${ECHO} ------------------------------------------------------------------
- @ ${ECHO} You will need to read http://druglord.freelsd.org/ezbounce/README
- @ ${ECHO} and http://druglord.freelsd.org/ezbounce/mdidentd.README
- @ ${ECHO} to set up this program.
- @ ${ECHO} Also, edit ${PREFIX}/etc/ezbounce.conf to your liking.
- @ ${ECHO} ------------------------------------------------------------------
- ${INSTALL_PROGRAM} -C ${WRKSRC}/ezbounce ${PREFIX}/sbin
- ${INSTALL_PROGRAM} -C ${WRKSRC}/mdidentd/mdidentd ${PREFIX}/sbin
- @ ${SED} -e s:/path/to:${PREFIX}/sbin: ${WRKSRC}/sample.conf > \
- ${WRKSRC}/sample.conf.new
- if [ ! -f ${PREFIX}/etc/ezbounce.conf ]; then \
- ${INSTALL_SCRIPT} -C ${WRKSRC}/sample.conf.new \
- ${PREFIX}/etc/ezbounce.conf; \
- fi
- ${INSTALL_SCRIPT} -C ${WRKSRC}/sample.conf.new \
- ${PREFIX}/etc/ezbounce.conf.default
+ ${INSTALL_PROGRAM} ${WRKSRC}/ezbounce ${PREFIX}/sbin
+ ${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 !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}/mdidentd/README \
+ ${PREFIX}/share/doc/ezbounce/mdidentd.README
+.endif
+ @${SED} -e "s:/usr/local:${PREFIX}:g" ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/irc/ezbounce/distinfo b/irc/ezbounce/distinfo
index 9967d2e2866c..91d3635331a1 100644
--- a/irc/ezbounce/distinfo
+++ b/irc/ezbounce/distinfo
@@ -1 +1 @@
-MD5 (ezbounce-0.99.7.tar.gz) = 84440b42fda69fd2e7bb7663376d60c5
+MD5 (ezbounce-0.99.10.tar.gz) = e0c58bed6ef84334d948dd905ecafefb
diff --git a/irc/ezbounce/pkg-message b/irc/ezbounce/pkg-message
new file mode 100644
index 000000000000..d296c6d75f4d
--- /dev/null
+++ b/irc/ezbounce/pkg-message
@@ -0,0 +1,6 @@
+------------------------------------------------------------------
+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.
+------------------------------------------------------------------
diff --git a/irc/ezbounce/pkg-plist b/irc/ezbounce/pkg-plist
index 4874fcf50161..c0525dc983e7 100644
--- a/irc/ezbounce/pkg-plist
+++ b/irc/ezbounce/pkg-plist
@@ -1,5 +1,10 @@
-sbin/ezbounce
-sbin/mdidentd
@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
+sbin/ezbounce
+sbin/mdidentd
+share/doc/ezbounce/CHANGES
+share/doc/ezbounce/README
+share/doc/ezbounce/TODO
+share/doc/ezbounce/mdidentd.README
+@dirrm share/doc/ezbounce