aboutsummaryrefslogtreecommitdiff
path: root/irc/ezbounce-devel/Makefile
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2003-06-10 15:15:29 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2003-06-10 15:15:29 +0000
commit4d2b1b26c0912b072947e13a6d7d808a28f63fe0 (patch)
tree83822381d58cb6832c044ca06337f45bc93fc513 /irc/ezbounce-devel/Makefile
parent14c7b7f835e3449f4e01f83b79e640e9dfe84107 (diff)
downloadports-4d2b1b26c0912b072947e13a6d7d808a28f63fe0.tar.gz
ports-4d2b1b26c0912b072947e13a6d7d808a28f63fe0.zip
Notes
Diffstat (limited to 'irc/ezbounce-devel/Makefile')
-rw-r--r--irc/ezbounce-devel/Makefile40
1 files changed, 30 insertions, 10 deletions
diff --git a/irc/ezbounce-devel/Makefile b/irc/ezbounce-devel/Makefile
index 8f90a79fdad2..bde23a41e49e 100644
--- a/irc/ezbounce-devel/Makefile
+++ b/irc/ezbounce-devel/Makefile
@@ -6,15 +6,15 @@
#
PORTNAME= ezbounce
-PORTVERSION= 1.02
-PORTREVISION= 1
+PORTVERSION= 1.04.a
CATEGORIES= irc
-MASTER_SITES= http://druglord.freelsd.org/ezbounce/
+MASTER_SITES= http://druglord.freelsd.org/ezbounce/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a/a/}
MAINTAINER= ports@FreeBSD.org
COMMENT= A highly configurable IRC Proxy
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= yes
MAN1= ezbounce.1
@@ -25,6 +25,23 @@ PLIST_SUB+= MDIDENTD="@comment "
PLIST_SUB+= MDIDENTD=""
.endif
+.if defined(WITH_SSL)
+USE_OPENSSL= YES
+CONFIGURE_ARGS+= --with-ssl
+PLIST_SUB+= SSL=""
+.else
+PLIST_SUB+= SSL="@comment "
+.endif
+
+pre-everything::
+ @${ECHO} ""
+ @${ECHO} "You may use the following build options:"
+ @${ECHO} ""
+ @${ECHO} " WITH_SSL=yes Enable SSL support"
+ @${ECHO} " WITH_MDIDENTD=yes Install the mdidentd binary to"
+ @${ECHO} " modify ident replies"
+ @${ECHO} ""
+
post-patch:
@${SED} -e "s:/path/to:${PREFIX}/sbin:" ${WRKSRC}/sample.conf > \
${WRKSRC}/ezb.conf.default
@@ -44,15 +61,18 @@ do-install:
fi
.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
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/worklog ${DOCSDIR}
.if defined(WITH_MDIDENTD)
${INSTALL_DATA} ${WRKSRC}/mdidentd/README \
- ${PREFIX}/share/doc/ezbounce/mdidentd.README
+ ${DOCSDIR}/mdidentd.README
+.endif
+.if defined(WITH_SSL)
+ ${INSTALL_DATA} ${WRKSRC}/README.SSL ${DOCSDIR}
.endif
.endif