mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
331406a878
- Add LICENSE_FILE - Add NO_ARCH - Don't install examples as docs - Switch to options helpers
44 lines
1009 B
Makefile
44 lines
1009 B
Makefile
# Created by: Jeremy Norris <ishmael27@home.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pm-lib
|
|
PORTVERSION= 20091202
|
|
PORTREVISION= 1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= SAVANNAH/procmail-lib
|
|
DISTNAME= procmail-lib-2009.1202
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Collection of procmail plug-in modules
|
|
|
|
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 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
|
|
|
|
do-install-EXAMPLES-on:
|
|
@cd ${WRKSRC}/doc/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|