mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
[Maintainer Update]: mail/smtprc
Update to latest release. (feature enhancement) - Install GUI option added. PR: ports/51276 Submitted by: Michael L. Hostbaek <mich@freebsdcluster.org>
This commit is contained in:
parent
6cfa681248
commit
ced66e531b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79834
@ -7,18 +7,37 @@
|
||||
#
|
||||
|
||||
PORTNAME= smtprc
|
||||
PORTVERSION= 0.9.6b
|
||||
PORTVERSION= 0.9.7
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
DISTNAME= ${PORTNAME}-.${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= mich@freebsdcluster.org
|
||||
COMMENT= A scanner for open SMTP relays
|
||||
|
||||
.if defined(WITH_GUI)
|
||||
RUN_DEPENDS= ${SITE_PERL}/mach/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
|
||||
PLIST_SUB+= WITHGUI=""
|
||||
.else
|
||||
PLIST_SUB+= WITHGUI="@comment "
|
||||
.endif
|
||||
|
||||
USE_REINPLACE= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
pre-fetch:
|
||||
.if defined(WITH_GUI)
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "Installed with GUI"
|
||||
@${ECHO_MSG} ""
|
||||
.else
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "Press ctrl-c now, and define WITH_GUI for GUI"
|
||||
@${ECHO_MSG} ""
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s,-Wall -g,${CFLAGS},g ; \
|
||||
s,gcc,${CC},g" ${WRKSRC}/Makefile
|
||||
@ -30,11 +49,20 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/email.tmpl ${PREFIX}/etc/${PORTNAME}/email.tmpl.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/rcheck.conf ${PREFIX}/etc/${PORTNAME}/rcheck.conf.sample
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1
|
||||
.if defined(WITH_GUI)
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/gsmtprc ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/gsmtprc.1 ${PREFIX}/man/man1
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
|
||||
.endif
|
||||
|
||||
.if defined(WITH_GUI)
|
||||
MAN1= smtprc.1 gsmtprc.1
|
||||
.else
|
||||
MAN1= smtprc.1
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (smtprc-0.9.6b.tgz) = 37e043b0de36f60bf5ee1f1dd64c2ee8
|
||||
MD5 (smtprc-.0.9.7.tgz) = 95f26d0e45a1a6d6ca997bcec5919b76
|
||||
|
@ -3,5 +3,6 @@ etc/smtprc/auto.conf.sample
|
||||
etc/smtprc/email.tmpl.sample
|
||||
etc/smtprc/rcheck.conf.sample
|
||||
@dirrm /etc/smtprc
|
||||
%%WITHGUI%%bin/gsmtprc
|
||||
%%PORTDOCS%%share/doc/smtprc/README
|
||||
%%PORTDOCS%%@dirrm /share/doc/smtprc
|
||||
|
Loading…
Reference in New Issue
Block a user