aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-09-27 01:30:13 +0800
committerwg <wg@FreeBSD.org>2013-09-27 01:30:13 +0800
commit049e3585cfb3c481723e8ebc13a55b83575823d9 (patch)
tree86bf0ad0c7dcbf243e819622543b2a6a7bff0b11 /mail
parent73b2a0fb3ad7c611427b030d74c8d73c14b0f88c (diff)
downloadfreebsd-ports-gnome-049e3585cfb3c481723e8ebc13a55b83575823d9.tar.gz
freebsd-ports-gnome-049e3585cfb3c481723e8ebc13a55b83575823d9.tar.zst
freebsd-ports-gnome-049e3585cfb3c481723e8ebc13a55b83575823d9.zip
mail/lurker: fix build on head
- Fix build on head [1] - Remove useless LICENSE_FILE - Remove leading article from COMMENT - Allow staging PR: ports/182053 Submitted by: Kevin Rauwolf <sweetpea-freebsd tentacle.net> (maintainer)
Diffstat (limited to 'mail')
-rw-r--r--mail/lurker/Makefile32
-rw-r--r--mail/lurker/files/patch-configure10
-rw-r--r--mail/lurker/pkg-plist8
3 files changed, 27 insertions, 23 deletions
diff --git a/mail/lurker/Makefile b/mail/lurker/Makefile
index 5bba4af17922..5719d2c0de11 100644
--- a/mail/lurker/Makefile
+++ b/mail/lurker/Makefile
@@ -1,8 +1,8 @@
-# Created by: Kevin Rauwolf <sweetpea-freebsd@tentacle.net>
# $FreeBSD$
PORTNAME= lurker
PORTVERSION= 2.3
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= SF:0 \
SF/${PORTNAME}/mimelib/${MIMELIB_VERSION}/:1
@@ -10,10 +10,9 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:0 mimelib-${MIMELIB_VERSION}.tar.gz:1
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= sweetpea-freebsd@tentacle.net
-COMMENT= A mailing list archiver
+COMMENT= Mailing list archiver
LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
MIMELIB_VERSION= 3.1.1
USES= iconv
@@ -24,28 +23,19 @@ CONFIGURE_ARGS= --with-mimelib-local \
--with-default-www-dir=${PREFIX}/www/lurker \
--with-cgi-bin-dir=${PREFIX}/www/lurker
-MAN1= lurker-index.1 lurker-list.1 lurker-params.1 \
- lurker-regenerate.1 lurker-search.1 lurker-prune.1
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
post-extract:
@cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
${DISTDIR}/mimelib-${MIMELIB_VERSION}.tar.gz ${EXTRACT_AFTER_ARGS}
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/INSTALL ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/FAQ ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/ChangeLog ${DOCSDIR}
-.endif
- @${CHOWN} -R www:www ${PREFIX}/www/lurker
- ${INSTALL_DATA} ${WRKSRC}/lurker.conf ${PREFIX}/etc/lurker/lurker.conf.sample
- @if [ ! -f ${PREFIX}/etc/lurker/lurker.conf ]; then \
- ${CP} -p ${PREFIX}/etc/lurker/lurker.conf.sample ${PREFIX}/etc/lurker/lurker.conf ; \
- fi
- ${INSTALL_DATA} ${WRKSRC}/apache.conf ${PREFIX}/etc/lurker/apache.conf.sample
- @if [ ! -f ${PREFIX}/etc/lurker/apache.conf ]; then \
- ${CP} -p ${PREFIX}/etc/lurker/apache.conf.sample ${PREFIX}/etc/lurker/apache.conf ; \
- fi
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/FAQ ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
+ @${CHOWN} -R www:www ${STAGEDIR}${PREFIX}/www/lurker
+ ${INSTALL_DATA} ${WRKSRC}/lurker.conf ${STAGEDIR}${PREFIX}/etc/lurker/lurker.conf.sample
+ ${INSTALL_DATA} ${WRKSRC}/apache.conf ${STAGEDIR}${PREFIX}/etc/lurker/apache.conf.sample
+
.include <bsd.port.mk>
diff --git a/mail/lurker/files/patch-configure b/mail/lurker/files/patch-configure
new file mode 100644
index 000000000000..b133d49a8335
--- /dev/null
+++ b/mail/lurker/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig 2009-10-30 11:51:40.000000000 -0700
++++ configure 2013-09-12 09:08:52.000000000 -0700
+@@ -5109,6 +5109,7 @@
+
+ { echo "$as_me:$LINENO: checking for zlib.h" >&5
+ echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
++unset ac_cv_header_zlib_h
+ if test "${ac_cv_header_zlib_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
diff --git a/mail/lurker/pkg-plist b/mail/lurker/pkg-plist
index 2dea4c5ce668..7a43a4046576 100644
--- a/mail/lurker/pkg-plist
+++ b/mail/lurker/pkg-plist
@@ -4,14 +4,18 @@ bin/lurker-params
bin/lurker-prune
bin/lurker-regenerate
bin/lurker-search
-etc/lurker/apache.conf
-etc/lurker/lurker.conf
@unexec if cmp -s %D/etc/lurker/lurker.conf.sample $D/etc/lurker/lurker.conf; then rm -f $D/etc/lurker/lurker.conf; fi
etc/lurker/lurker.conf.sample
@exec if [ ! -f %D/etc/lurker/lurker.conf ] ; then cp -p $D/%F %B/lurker.conf; fi
@unexec if cmp -s %D/etc/lurker/apache.conf.sample $D/etc/lurker/apache.conf; then rm -f $D/etc/lurker/apache.conf; fi
etc/lurker/apache.conf.sample
@exec if [ ! -f %D/etc/lurker/apache.conf ] ; then cp -p $D/%F %B/apache.conf; fi
+man/man1/lurker-index.1.gz
+man/man1/lurker-list.1.gz
+man/man1/lurker-params.1.gz
+man/man1/lurker-prune.1.gz
+man/man1/lurker-regenerate.1.gz
+man/man1/lurker-search.1.gz
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/FAQ
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog