1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/mail/lmtp2nntp/Makefile
Dmitry Marakasov 07847a3295 - Add LICENSE
- Switch to new test framework

Approved by:	portmgr blanket
2018-04-13 08:33:38 +00:00

41 lines
952 B
Makefile

# Created by: Thomas Lotterer <thomas.lotterer@cw.com>
# $FreeBSD$
PORTNAME= lmtp2nntp
PORTVERSION= 1.4.1
CATEGORIES= mail news
MASTER_SITES= OSSP/tool/${PORTNAME}
MAINTAINER= vd@FreeBSD.org
COMMENT= OSSP mail to news gateway
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libstr.so:devel/str \
libex.so:devel/ossp-ex \
libsa.so:net/ossp-sa \
libvar.so:devel/ossp-var
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ex=${LOCALBASE} --with-str=${LOCALBASE} \
--with-sa=${LOCALBASE} --with-var=${LOCALBASE}
TEST_TARGET= check
PLIST_FILES= sbin/lmtp2nntp \
man/man8/lmtp2nntp.8.gz
PORTDOCS= INSTALL README
OPTIONS_DEFINE= DOCS
# Try to fix parallel builds (-jX)
post-patch:
@${REINPLACE_CMD} -e '/^all:/s, _SUBDIRS_all,, ; \
/^$$(PROG)/s,$$, _SUBDIRS_all,' ${WRKSRC}/Makefile.in
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>