mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04:00
- 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
43 lines
1 KiB
Makefile
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>
|