diff options
author | edwin <edwin@FreeBSD.org> | 2003-04-29 11:33:42 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-04-29 11:33:42 +0800 |
commit | 1640b73197b0a2834b4afe900e9e43a67b4358fb (patch) | |
tree | cdb4418ea32ae226672e347caed3d374c870b3a5 /mail/smtprc/Makefile | |
parent | 20d2234c09d8ae0056383b41a9e6da59443dd8e4 (diff) | |
download | freebsd-ports-gnome-1640b73197b0a2834b4afe900e9e43a67b4358fb.tar.gz freebsd-ports-gnome-1640b73197b0a2834b4afe900e9e43a67b4358fb.tar.zst freebsd-ports-gnome-1640b73197b0a2834b4afe900e9e43a67b4358fb.zip |
[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>
Diffstat (limited to 'mail/smtprc/Makefile')
-rw-r--r-- | mail/smtprc/Makefile | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/mail/smtprc/Makefile b/mail/smtprc/Makefile index 719968626de2..96f949fa5cb1 100644 --- a/mail/smtprc/Makefile +++ b/mail/smtprc/Makefile @@ -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> |