PORTNAME= nbsmtp PORTVERSION= 1.00 PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Simple program for outgoing SMTP delivery LICENSE= GPLv2 USES= cpe ssl GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-ssl --enable-ipv6 CPPFLAGS+= -I${OPENSSLINC} CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} PLIST_FILES= bin/nbsmtp man/man5/nbsmtprc.5.gz man/man8/nbsmtp.8.gz post-patch: ${REINPLACE_CMD} -e 's@\(-o nbsmtp\)@$$(LDFLAGS) \1@g' \ ${WRKSRC}/Makefile.in do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/nbsmtprc.5 ${STAGEDIR}${MANPREFIX}/man/man5 ${INSTALL_MAN} ${WRKSRC}/nbsmtp.8 ${STAGEDIR}${MANPREFIX}/man/man8 .include