svn commit: r353870 - head/mail/mboxgrep

Juergen Lock nox at FreeBSD.org
Mon May 12 16:32:35 UTC 2014


Author: nox
Date: Mon May 12 16:32:34 2014
New Revision: 353870
URL: http://svnweb.freebsd.org/changeset/ports/353870
QAT: https://qat.redports.org/buildarchive/r353870/

Log:
  Stagify.

Modified:
  head/mail/mboxgrep/Makefile
  head/mail/mboxgrep/pkg-plist

Modified: head/mail/mboxgrep/Makefile
==============================================================================
--- head/mail/mboxgrep/Makefile	Mon May 12 16:27:31 2014	(r353869)
+++ head/mail/mboxgrep/Makefile	Mon May 12 16:32:34 2014	(r353870)
@@ -14,25 +14,28 @@ COMMENT=	Utility to scan mailboxes for m
 LIB_DEPENDS=	pcre.3:${PORTSDIR}/devel/pcre
 .endif
 
+USES=		uidfix
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV+=	LIBS="-L${LOCALBASE}/lib"
 CFLAGS+=	-I${LOCALBASE}/include
 USE_OPENSSL=	yes
 
-MAN1=		mboxgrep.1
 INFO=		mboxgrep
 
 DOCS=		ChangeLog NEWS README TODO
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's,void \*tmpp,FILE \*tmpp,g' ${WRKSRC}/src/main.c
+	@${REINPLACE_CMD} -e 's,$$(prefix),$$(DESTDIR)$$(prefix),g' \
+		-e 's,$$(mandir),$$(DESTDIR)$$(mandir),g' \
+		-e 's,$$(infodir),$$(DESTDIR)$$(infodir),g' \
+		${WRKSRC}/src/Makefile.in ${WRKSRC}/doc/Makefile.in
 
 post-install:
 .if !defined(NOPORTDOCS)
-	${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
+	${INSTALL} -d -o root -g wheel -m 0755 ${STAGEDIR}${DOCSDIR}
 .for f in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
 .endfor
 .endif
 

Modified: head/mail/mboxgrep/pkg-plist
==============================================================================
--- head/mail/mboxgrep/pkg-plist	Mon May 12 16:27:31 2014	(r353869)
+++ head/mail/mboxgrep/pkg-plist	Mon May 12 16:32:34 2014	(r353870)
@@ -1,4 +1,5 @@
 bin/mboxgrep
+man/man1/mboxgrep.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README


More information about the svn-ports-all mailing list