ports/mail/mls/Makefile
Robert Clausecker 342a19d2da mail/mls: improve and unbreak with -fno-common
- liberally sprinkle extern all over the place
 - define LICENSE
 - take over maintainership of this unmaintained port
 - ship examples and html files
 - define DOCS and EXAMPLES options
 - pacify portlint and portclippy
 - add a pkg-message as the author intended
 - remove dead MASTER_SITES entry

PR:		259586
Approved by:	flo (mentor)
Differential Revision: https://reviews.freebsd.org/D38516
2023-02-14 21:18:57 +01:00

43 lines
1 KiB
Makefile

PORTNAME= mls
PORTVERSION= 1.3
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= https://www.marki-online.net/MLS/
MAINTAINER= fuz@FreeBSD.org
COMMENT= Program for generating various statistics on emails
WWW= https://www.marki-online.net/MLS/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.gz
USES= tar:tgz
MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}"
ALL_TARGET= mls
SUB_FILES= pkg-message
PLIST_FILES= bin/mls man/man1/mls.1.gz
PORTDATA= html/bar.gif html/mls_class.php html/style_mls.css
PORTDOCS= README.txt
PORTEXAMPLES= README example.php forward procmailrc
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
${MKDIR} ${STAGEDIR}${DATADIR}/html
.for f in ${PORTDATA}
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR}/html/
.endfor
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/examples/$f ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>