1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/mail/lmtp2nntp/Makefile

49 lines
1.1 KiB
Makefile

# Created by: Thomas Lotterer <thomas.lotterer@cw.com>
# $FreeBSD$
PORTNAME= lmtp2nntp
PORTVERSION= 1.4.1
CATEGORIES= mail news
MASTER_SITES= ${MASTER_SITE_OSSP}
MASTER_SITE_SUBDIR= tool/${PORTNAME}
MAINTAINER= vd@FreeBSD.org
COMMENT= OSSP mail to news gateway
LIB_DEPENDS= libstr.so:${PORTSDIR}/devel/str \
libex.so:${PORTSDIR}/devel/ossp-ex \
libsa.so:${PORTSDIR}/net/ossp-sa \
libvar.so:${PORTSDIR}/devel/ossp-var
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ex=${LOCALBASE} --with-str=${LOCALBASE} \
--with-sa=${LOCALBASE} --with-var=${LOCALBASE}
MAN8= lmtp2nntp.8
PLIST_FILES= sbin/lmtp2nntp
PORTDOCS= INSTALL README
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.options.mk>
# Try to fix parallel builds (-jX)
post-patch:
@${REINPLACE_CMD} -e '/^all:/s, _SUBDIRS_all,, ; \
/^$$(PROG)/s,$$, _SUBDIRS_all,' ${WRKSRC}/Makefile.in
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
check: build
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} check)
regression-test: check
.include <bsd.port.mk>