diff options
author | Vsevolod Stakhov <vsevolod@FreeBSD.org> | 2005-10-04 11:43:35 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@FreeBSD.org> | 2005-10-04 11:43:35 +0000 |
commit | df261426c3e9cf902e4b1459b392f40512085af4 (patch) | |
tree | f7bfe4136249f6efecbb074f04082a358c7dbe33 /mail/lmtp2nntp | |
parent | 779c9116af4e82a6e754cbf778e36fa4102a8285 (diff) |
Notes
Diffstat (limited to 'mail/lmtp2nntp')
-rw-r--r-- | mail/lmtp2nntp/Makefile | 27 | ||||
-rw-r--r-- | mail/lmtp2nntp/distinfo | 4 | ||||
-rw-r--r-- | mail/lmtp2nntp/files/patch-l2_ut_format.c | 15 |
3 files changed, 24 insertions, 22 deletions
diff --git a/mail/lmtp2nntp/Makefile b/mail/lmtp2nntp/Makefile index 082d000fec91..aecf4f04567b 100644 --- a/mail/lmtp2nntp/Makefile +++ b/mail/lmtp2nntp/Makefile @@ -6,12 +6,12 @@ # PORTNAME= lmtp2nntp -PORTVERSION= 1.3.0 +PORTVERSION= 1.4.0 CATEGORIES= mail news MASTER_SITES= ${MASTER_SITE_OSSP} MASTER_SITE_SUBDIR= tool/${PORTNAME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= vd@datamax.bg COMMENT= OSSP mail to news gateway LIB_DEPENDS= str.9:${PORTSDIR}/devel/str \ @@ -19,11 +19,28 @@ LIB_DEPENDS= str.9:${PORTSDIR}/devel/str \ sa.12:${PORTSDIR}/net/ossp-sa \ var.11:${PORTSDIR}/devel/ossp-var +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --with-ex=${LOCALBASE} --with-str=${LOCALBASE} \ + --with-sa=${LOCALBASE} --with-var=${LOCALBASE} + MAN8= lmtp2nntp.8 PLIST_FILES= sbin/lmtp2nntp -HAS_CONFIGURE= yes -CONFIGURE_ARGS= --with-ex="${LOCALBASE}" --with-str="${LOCALBASE}" \ - --with-sa="${LOCALBASE}" --with-var="${LOCALBASE}" + +.if !defined(NOPORTDOCS) +PORTDOCS= INSTALL README +.endif + +check: build + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for doc in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}/ +.endfor +.endif .include <bsd.port.pre.mk> diff --git a/mail/lmtp2nntp/distinfo b/mail/lmtp2nntp/distinfo index ac8cf07026e0..8bdfa83bc29f 100644 --- a/mail/lmtp2nntp/distinfo +++ b/mail/lmtp2nntp/distinfo @@ -1,2 +1,2 @@ -MD5 (lmtp2nntp-1.3.0.tar.gz) = ae79014d8c6129153206de2bcf871c76 -SIZE (lmtp2nntp-1.3.0.tar.gz) = 3458398 +MD5 (lmtp2nntp-1.4.0.tar.gz) = 7d7b8db96219e790759d7a1b96c6a8c5 +SIZE (lmtp2nntp-1.4.0.tar.gz) = 3542820 diff --git a/mail/lmtp2nntp/files/patch-l2_ut_format.c b/mail/lmtp2nntp/files/patch-l2_ut_format.c deleted file mode 100644 index 99777bbd96ad..000000000000 --- a/mail/lmtp2nntp/files/patch-l2_ut_format.c +++ /dev/null @@ -1,15 +0,0 @@ ---- l2_ut_format.c.orig Tue Apr 13 19:04:15 2004 -+++ lib_l2/l2_ut_format.c Tue Apr 13 19:05:59 2004 -@@ -1131,8 +1131,11 @@ - va_list apbak; - char *s; - int rv; -- -+#ifdef __amd64__ -+ va_copy(apbak,ap); -+#else - apbak = ap; -+#endif - if ((rv = l2_util_vsprintf(NULL, -1, fmt, ap)) == -1) - return NULL; - if ((s = malloc(rv+1)) == NULL) |