1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/mail/nbsmtp/Makefile
Bernhard Froehlich 3626c7f9a8
mail/nbsmtp: Add CPE information
Approved by:    portmgr (blanket)
2021-08-31 11:26:55 +00:00

33 lines
801 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= 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 <bsd.port.mk>