diff options
Diffstat (limited to 'mail/lmtp2nntp')
-rw-r--r-- | mail/lmtp2nntp/Makefile | 45 |
1 files changed, 21 insertions, 24 deletions
diff --git a/mail/lmtp2nntp/Makefile b/mail/lmtp2nntp/Makefile index 81ba2a28851e..f68381767d91 100644 --- a/mail/lmtp2nntp/Makefile +++ b/mail/lmtp2nntp/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: lmtp2nntp -# Date created: 12 November 2001 -# Whom: Thomas Lotterer <thomas.lotterer@cw.com> -# +# Created by: Thomas Lotterer <thomas.lotterer@cw.com> # $FreeBSD$ -# PORTNAME= lmtp2nntp PORTVERSION= 1.4.1 @@ -14,10 +10,10 @@ MASTER_SITE_SUBDIR= tool/${PORTNAME} MAINTAINER= vd@FreeBSD.org COMMENT= OSSP mail to news gateway -LIB_DEPENDS= str.9:${PORTSDIR}/devel/str \ - ex.10:${PORTSDIR}/devel/ossp-ex \ - sa.12:${PORTSDIR}/net/ossp-sa \ - var.11:${PORTSDIR}/devel/ossp-var +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} \ @@ -25,26 +21,27 @@ CONFIGURE_ARGS= --with-ex=${LOCALBASE} --with-str=${LOCALBASE} \ MAN8= lmtp2nntp.8 PLIST_FILES= sbin/lmtp2nntp - -.if !defined(NOPORTDOCS) PORTDOCS= INSTALL README -.endif -check: build - @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) +OPTIONS_DEFINE= DOCS + +.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 !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for doc in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}/ -.endfor +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif -.include <bsd.port.pre.mk> +check: build + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ + ${MAKEFILE} ${MAKE_ARGS} check) -.if ${ARCH} == "alpha" -BROKEN= Does not compile on alpha -.endif +regression-test: check -.include <bsd.port.post.mk> +.include <bsd.port.mk> |