blob: cc71fb851338521fac683008a8dcfc5a39a46aa3 (
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
31
32
33
34
35
36
37
38
39
|
# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= xpn
PORTVERSION= 1.2.6
PORTREVISION= 5
CATEGORIES= news python
MASTER_SITES= http://xpn.altervista.org/codice/
MAINTAINER= nivit@FreeBSD.org
COMMENT= X Python Newsreader
LICENSE= GPLv2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gtk2>=2.24.0:x11-toolkits/py-gtk2 \
${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7.9:databases/py-sqlite3
NO_BUILD= yes
SHEBANG_FILES= ${XPN}
SUB_FILES= ${PORTNAME}
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} XPN=${XPN}
USES= gettext python:2 shebangfix
XPN= ${PORTNAME}.py
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/${XPN} ${STAGEDIR}${DATADIR}/${XPN}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
(cd ${WRKSRC} && \
${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} "-mindepth 2")
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|