mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
- Fix LICENSE
- Add LICENSE_FILE - Add NO_ARCH - Don't install examples as docs - Switch to options helpers
This commit is contained in:
parent
7df2fc738c
commit
331406a878
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421156
@ -11,25 +11,33 @@ DISTNAME= procmail-lib-2009.1202
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Collection of procmail plug-in modules
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/doc/license/COPYING.GNU-GPL
|
||||
|
||||
RUN_DEPENDS= procmail:mail/procmail
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
PORTDATA= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/pm-*.rc ${STAGEDIR}${DATADIR}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/ChangeLog ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/article/index.txt \
|
||||
${STAGEDIR}${DOCSDIR}/README.txt
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/manual/index.txt \
|
||||
${STAGEDIR}${DOCSDIR}/manual.txt
|
||||
cd ${WRKSRC}/doc/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
do-install-EXAMPLES-on:
|
||||
@cd ${WRKSRC}/doc/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user