Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2014 15:26:33 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350625 - head/mail/ezmlm-idx
Message-ID:  <201404081526.s38FQX6Q074293@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Tue Apr  8 15:26:32 2014
New Revision: 350625
URL: http://svnweb.freebsd.org/changeset/ports/350625
QAT: https://qat.redports.org/buildarchive/r350625/

Log:
  - Take maintainership
  - Stage

Modified:
  head/mail/ezmlm-idx/Makefile
  head/mail/ezmlm-idx/pkg-plist

Modified: head/mail/ezmlm-idx/Makefile
==============================================================================
--- head/mail/ezmlm-idx/Makefile	Tue Apr  8 15:19:11 2014	(r350624)
+++ head/mail/ezmlm-idx/Makefile	Tue Apr  8 15:26:32 2014	(r350625)
@@ -8,7 +8,7 @@ CATEGORIES=	mail
 MASTER_SITES=	http://www.ezmlm.org/archive/${PORTVERSION}/ \
 		http://ezmlm.sericyb.com.au/archive/${PORTVERSION}/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bdrewery@FreeBSD.org
 COMMENT=	Improved version of the ezmlm mailing list manager
 
 MAKE_JOBS_UNSAFE=	yes
@@ -31,7 +31,6 @@ PGSQL_DESC=		Build the PostgreSQL extens
 SQLITE_DESC=		Build the SQLite3 extension
 
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 ALL_TARGET=	it
@@ -64,52 +63,44 @@ PLIST_SUB+=	MYSQL="@comment " PGSQL="@co
 
 CONFIG=		ezmlmglrc ezmlmrc ezmlmsubrc
 
-MAN1=	ezmlm-accept.1 ezmlm-archive.1 ezmlm-check.1 ezmlm-dispatch.1 \
-	ezmlm-clean.1 ezmlm-cron.1 ezmlm-gate.1 ezmlm-get.1 \
-	ezmlm-glconf.1 ezmlm-idx.1 ezmlm-issubn.1 ezmlm-limit.1 \
-	ezmlm-list.1 ezmlm-make.1 ezmlm-manage.1 ezmlm-confirm.1 \
-	ezmlm-moderate.1 ezmlm-reject.1 ezmlm-request.1 \
-	ezmlm-return.1 ezmlm-send.1 ezmlm-split.1 ezmlm-store.1 \
-	ezmlm-sub.1 ezmlm-tstdig.1 ezmlm-unsub.1 ezmlm-checksub.1 \
-	ezmlm-warn.1 ezmlm-weed.1
-MAN5=	ezmlm.5 ezmlmglrc.5 ezmlmrc.5 ezmlmsubrc.5
 DOCS=	BLURB CHANGES ChangeLog DOWNGRADE FAQ HISTORY INSTALL README \
 	README.mysql README.pgsql README.std TODO UPGRADE
 
 post-patch:
-	@${ECHO_CMD} /usr/sbin > ${WRKSRC}/conf-cron
-	@${ECHO_CMD} ${PREFIX}/bin > ${WRKSRC}/conf-bin
-	@${ECHO_CMD} ${PREFIX}/etc/ezmlm > ${WRKSRC}/conf-etc
-	@${ECHO_CMD} ${PREFIX}/lib/ezmlm > ${WRKSRC}/conf-lib
-	@${ECHO_CMD} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
-	@${ECHO_CMD} ${CC} -s > ${WRKSRC}/conf-ld
-.if defined(WITH_MYSQL)
-	@${ECHO_CMD} ${CC} ${CFLAGS} ${EXTRACT_INCLUDE} > ${WRKSRC}/conf-cc
-	@${ECHO_CMD} ${CC} -s ${EXTRACT_LIB} > ${WRKSRC}/conf-ld
-.elif defined(WITH_PGSQL)
-	@${ECHO_CMD} ${CC} ${CFLAGS} ${EXTRACT_INCLUDE} > ${WRKSRC}/conf-cc
-	@${ECHO_CMD} ${CC} -s ${EXTRACT_LIB} > ${WRKSRC}/conf-ld
-.elif defined(WITH_SQLITE)
-	@${ECHO_CMD} ${CC} ${CFLAGS} ${EXTRACT_INCLUDE} > ${WRKSRC}/conf-cc
-	@${ECHO_CMD} ${CC} -s ${EXTRACT_LIB} > ${WRKSRC}/conf-ld
+	@${ECHO_CMD} "/usr/sbin" > ${WRKSRC}/conf-cron
+	@${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
+	@${ECHO_CMD} "${PREFIX}/etc/ezmlm" > ${WRKSRC}/conf-etc
+	@${ECHO_CMD} "${PREFIX}/lib/ezmlm" > ${WRKSRC}/conf-lib
+	@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
+	@${ECHO_CMD} "${CC} -s" > ${WRKSRC}/conf-ld
+.if ${PORT_OPTIONS:MMYSQL}
+	@${ECHO_CMD} "${CC} ${CFLAGS} ${EXTRACT_INCLUDE}" > ${WRKSRC}/conf-cc
+	@${ECHO_CMD} "${CC} -s ${EXTRACT_LIB}" > ${WRKSRC}/conf-ld
+.elif ${PORT_OPTIONS:MPGSQL}
+	@${ECHO_CMD} "${CC} ${CFLAGS} ${EXTRACT_INCLUDE}" > ${WRKSRC}/conf-cc
+	@${ECHO_CMD} "${CC} -s ${EXTRACT_LIB}" > ${WRKSRC}/conf-ld
+.elif ${PORT_OPTIONS:MSQLITE}
+	@${ECHO_CMD} "${CC} ${CFLAGS} ${EXTRACT_INCLUDE}" > ${WRKSRC}/conf-cc
+	@${ECHO_CMD} "${CC} -s ${EXTRACT_LIB}" > ${WRKSRC}/conf-ld
 .endif
-	@${ECHO_CMD} ${PREFIX}/man > ${WRKSRC}/conf-man
-	@${ECHO_CMD} ${QMAIL_PREFIX} > ${WRKSRC}/conf-qmail
+	@${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
+	@${ECHO_CMD} "${QMAIL_PREFIX}" > ${WRKSRC}/conf-qmail
 	@${REINPLACE_CMD} -e 's,/etc/ezmlm/,${PREFIX}/etc/ezmlm/,' \
 		${WRKSRC}/idx.h
-
+	@${REINPLACE_CMD} -e "s:\(/installer\) \(\"\`head\):\1 ${STAGEDIR}\2:" \
+	    -e "s:\(\"\`head -n 1 conf-etc\`\"/default\):${STAGEDIR}\1:" \
+	    ${WRKSRC}/Makefile
 pre-install:
 	@${REINPLACE_CMD} -e '/\/cat/d' ${WRKSRC}/MAN
 
 post-install:
-	@${MKDIR} ${PREFIX}/etc/ezmlm
+	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/ezmlm
 .for file in ${CONFIG}
-	@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/etc/ezmlm/${file}.sample
+	@${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/etc/ezmlm/${file}.sample
 .endfor
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
 .endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>

Modified: head/mail/ezmlm-idx/pkg-plist
==============================================================================
--- head/mail/ezmlm-idx/pkg-plist	Tue Apr  8 15:19:11 2014	(r350624)
+++ head/mail/ezmlm-idx/pkg-plist	Tue Apr  8 15:26:32 2014	(r350625)
@@ -603,6 +603,39 @@ lib/ezmlm/sub-std.so
 %%MYSQL%%lib/ezmlm/sub-mysql.so
 %%PGSQL%%lib/ezmlm/sub-pgsql.so
 %%SQLITE%%lib/ezmlm/sub-sqlite3.so
+man/man1/ezmlm-accept.1.gz
+man/man1/ezmlm-archive.1.gz
+man/man1/ezmlm-check.1.gz
+man/man1/ezmlm-checksub.1.gz
+man/man1/ezmlm-clean.1.gz
+man/man1/ezmlm-confirm.1.gz
+man/man1/ezmlm-cron.1.gz
+man/man1/ezmlm-dispatch.1.gz
+man/man1/ezmlm-gate.1.gz
+man/man1/ezmlm-get.1.gz
+man/man1/ezmlm-glconf.1.gz
+man/man1/ezmlm-idx.1.gz
+man/man1/ezmlm-issubn.1.gz
+man/man1/ezmlm-limit.1.gz
+man/man1/ezmlm-list.1.gz
+man/man1/ezmlm-make.1.gz
+man/man1/ezmlm-manage.1.gz
+man/man1/ezmlm-moderate.1.gz
+man/man1/ezmlm-reject.1.gz
+man/man1/ezmlm-request.1.gz
+man/man1/ezmlm-return.1.gz
+man/man1/ezmlm-send.1.gz
+man/man1/ezmlm-split.1.gz
+man/man1/ezmlm-store.1.gz
+man/man1/ezmlm-sub.1.gz
+man/man1/ezmlm-tstdig.1.gz
+man/man1/ezmlm-unsub.1.gz
+man/man1/ezmlm-warn.1.gz
+man/man1/ezmlm-weed.1.gz
+man/man5/ezmlm.5.gz
+man/man5/ezmlmglrc.5.gz
+man/man5/ezmlmrc.5.gz
+man/man5/ezmlmsubrc.5.gz
 %%PORTDOCS%%%%DOCSDIR%%/BLURB
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404081526.s38FQX6Q074293>