Changeset View
Changeset View
Standalone View
Standalone View
www/py-unit/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 |
# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org> | |||||
# $FreeBSD$ | |||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | |||||
COMMENT= Python module for NGINX Unit | |||||
USES= python gettext-runtime | |||||
USE_PYTHON= flavors | |||||
PLIST_FILES= libexec/unit/modules/python${PYTHON_SUFFIX}.unit.so | |||||
USE_RC_SUBR?= # reset to empty | |||||
MASTERDIR= ${.CURDIR}/../unit | |||||
post-configure: | |||||
cd ${CONFIGURE_WRKSRC} && \ | |||||
./configure python --module=python${PYTHON_SUFFIX} \ | |||||
--config=${PYTHON_CMD}-config | |||||
do-install: | |||||
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/ | |||||
${INSTALL_LIB} ${WRKSRC}/build/python${PYTHON_SUFFIX}.unit.so \ | |||||
${STAGEDIR}${PREFIX}/libexec/unit/modules/ | |||||
.include "${MASTERDIR}/Makefile" |