mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
33 lines
797 B
Makefile
33 lines
797 B
Makefile
# Created by: Anders Nordby <anders@fix.no>
|
|
|
|
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= 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 <bsd.port.mk>
|