Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Nov 2016 09:04:20 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r425126 - head/mail/mboxgrep
Message-ID:  <201611020904.uA294K00017097@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Nov  2 09:04:20 2016
New Revision: 425126
URL: https://svnweb.freebsd.org/changeset/ports/425126

Log:
  - Add LICENSE
  - Switch to USES=localbase
  - Switch to options helpers

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

Modified: head/mail/mboxgrep/Makefile
==============================================================================
--- head/mail/mboxgrep/Makefile	Wed Nov  2 08:22:20 2016	(r425125)
+++ head/mail/mboxgrep/Makefile	Wed Nov  2 09:04:20 2016	(r425126)
@@ -10,15 +10,20 @@ MASTER_SITES=	SF
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Utility to scan mailboxes for messages matching a regular expression
 
-USES=		ssl
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		localbase ssl
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
+
 CFLAGS+=	-I${OPENSSLINC}
-LIBS+=		-L${OPENSSLLIB} -L${LOCALBASE}/lib
+LIBS+=		-L${OPENSSLLIB}
 
 INFO=		mboxgrep
 
-DOCS=		ChangeLog NEWS README TODO
+PORTDOCS=	ChangeLog NEWS README TODO
+PLIST_FILES=	bin/mboxgrep \
+		man/man1/mboxgrep.1.gz
 
 OPTIONS_DEFINE=	DOCS PCRE
 
@@ -31,9 +36,9 @@ post-patch:
 		-e 's,$$(infodir),$$(DESTDIR)$$(infodir),g' \
 		${WRKSRC}/src/Makefile.in ${WRKSRC}/doc/Makefile.in
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for f in ${DOCS}
+.for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
 .endfor
 



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