1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Add LICENSE

- Switch to USES=localbase
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-11-02 09:04:20 +00:00
parent 019fdce82f
commit 8d27381983
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=425126
2 changed files with 11 additions and 12 deletions

View File

@ -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

View File

@ -1,6 +0,0 @@
bin/mboxgrep
man/man1/mboxgrep.1.gz
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO