blob: c4d5a6ee1439f11b6d057ced42024bdaa54d861f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Created by: Choe, Cheng-Dae
# $FreeBSD$
PORTNAME= Component
PORTVERSION= 0.2
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= http://www.webwareforpython.org/downloads/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}webware-
MAINTAINER= ports@FreeBSD.org
COMMENT= Webware servlet component extension
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}webware>0:${PORTSDIR}/www/py-webware
USE_PYTHON= 2
do-build:
@${ECHO_MSG} -n ">> Compiling ..."
@${PYTHON_CMD} -c "import compileall; compileall.compile_dir('${WRKSRC}')"
@${ECHO_MSG} " [ DONE ]"
do-install:
@${ECHO_CMD} -n ">> Installing ..."
@cd ${WRKSRC} && \
${FIND} . -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/share/webware/${PORTNAME}/{}" \; && \
${FIND} . -not -type d -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/share/webware/${PORTNAME}/{}" \;
@${ECHO_MSG} " [ DONE ]"
.include <bsd.port.mk>
|