blob: 0fe96005a782875cfea38b17bc116289061fd09b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# 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
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}
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}
check: build
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} check)
regression-test: check
.include <bsd.port.mk>
|