diff options
author | vsevolod <vsevolod@FreeBSD.org> | 2005-10-04 19:43:35 +0800 |
---|---|---|
committer | vsevolod <vsevolod@FreeBSD.org> | 2005-10-04 19:43:35 +0800 |
commit | 0911e966ab87be3e3e61e8178ba7e09b56cbb805 (patch) | |
tree | 9ec7c254588ae1c57e9fe7115b66d1f014f19d47 | |
parent | b2390972edad850fccbf2240ae20bed08b39289e (diff) | |
download | freebsd-ports-gnome-0911e966ab87be3e3e61e8178ba7e09b56cbb805.tar.gz freebsd-ports-gnome-0911e966ab87be3e3e61e8178ba7e09b56cbb805.tar.zst freebsd-ports-gnome-0911e966ab87be3e3e61e8178ba7e09b56cbb805.zip |
Update mail/lmtp2nntp from 1.3.0 to 1.4.0:
* pass maintainership to submitter (Vasil Dimov)
* change HAS_CONFIGURE with GNU_CONFIGURE, it is actually
GNU Configure that we have
* optionally install some useful files in share/doc
* add wrap-target to package's internal `check' target
* files/patch-l2_ut_format.c is not needed anymore
PR: 86886
Submitted by: Vasil Dimov <vd@datamax.bg>
-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) |