Changeset View
Changeset View
Standalone View
Standalone View
mail/slimta/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | ||||||||||
PORTNAME= slimta | ||||||||||
PORTVERSION= 0.7.8 | ||||||||||
CATEGORIES= mail | ||||||||||
MASTER_SITES= CHEESESHOP | ||||||||||
MAINTAINER= nc@FreeBSD.org | ||||||||||
COMMENT= Configurable MTA based on the python-slimta libraries | ||||||||||
LICENSE= MIT | ||||||||||
0mp: Is LICENSE_FILE available perhaps? | ||||||||||
Done Inline ActionsThere is no LICENSE_FILE for this port, sorry. nc: There is no LICENSE_FILE for this port, sorry. | ||||||||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR} \ | ||||||||||
${PYTHON_PKGNAMEPREFIX}python-slimta>0:mail/py-python-slimta@${PY_FLAVOR} \ | ||||||||||
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} | ||||||||||
USES= python:3.6+ | ||||||||||
USE_PYTHON= autoplist concurrent distutils | ||||||||||
USE_RC_SUBR= ${PORTNAME} | ||||||||||
REINPLACE_ARGS= -i '' | ||||||||||
NO_ARCH= yes | ||||||||||
PLIST_FILES= "@sample etc/slimta/logging.yaml.sample" \ | ||||||||||
"@sample etc/slimta/slimta.yaml.sample" | ||||||||||
post-patch: | ||||||||||
Done Inline Actions
0mp: 1. It would probably be better if you patch occurrences of `etc/` with `%%PREFIX%%` and then… | ||||||||||
Done Inline ActionsSure, done. nc: Sure, done. | ||||||||||
.for file in setup main state | ||||||||||
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/${PORTNAME}/app/${file}.py | ||||||||||
.endfor | ||||||||||
Done Inline Actions
Would it also work? BTW, if upstream offers a sample slimta.yaml file you can install it as a sample. 0mp: Would it also work?
BTW, if upstream offers a sample slimta.yaml file you can install it as a… | ||||||||||
Done Inline ActionsSure, done. nc: Sure, done. | ||||||||||
post-install: | ||||||||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} | ||||||||||
.for file in logging ${PORTNAME} | ||||||||||
@${CP} ${WRKSRC}/${PORTNAME}/app/etc/${file}.yaml.sample ${STAGEDIR}${PREFIX}/etc/${PORTNAME} | ||||||||||
0mpUnsubmitted Not Done Inline Actions${PREFIX}/etc/${PORTNAME} could probably be replaced with ${ETCDIR} 0mp: `${PREFIX}/etc/${PORTNAME}` could probably be replaced with `${ETCDIR}` | ||||||||||
@${CP} ${WRKSRC}/${PORTNAME}/app/etc/${file}.yaml.sample ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/${file}.yaml | ||||||||||
.endfor | ||||||||||
.include <bsd.port.mk> |
Is LICENSE_FILE available perhaps?