mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 08:56:28 -04:00
- Remove dead master site
- Add LICENSE (GPLv2) - Add databases/py-sqlite3 to run dependencies [1] - Bump PORTREVISION - Use shebangfix - Restrict usage to Python 2 (as its dependency py-gtk2) - Use COPYTREE_SHARE to install data - Fix WWW line in pkg-descr - Remove @dirrm keyword from plist PR: 196636 [1] Submitted by: Mike Clarke <jmc-freebsd2@milibyte.co.uk> [1]
This commit is contained in:
parent
2d69284e26
commit
b10266adb2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377764
3 changed files with 15 additions and 22 deletions
|
@ -3,25 +3,29 @@
|
||||||
|
|
||||||
PORTNAME= xpn
|
PORTNAME= xpn
|
||||||
PORTVERSION= 1.2.6
|
PORTVERSION= 1.2.6
|
||||||
PORTREVISION= 4
|
PORTREVISION= 5
|
||||||
CATEGORIES= news python
|
CATEGORIES= news python
|
||||||
MASTER_SITES= http://xpn.altervista.org/codice/ \
|
MASTER_SITES= http://xpn.altervista.org/codice/
|
||||||
http://nivi.interfree.it/distfiles/${PORTNAME}/
|
|
||||||
|
|
||||||
MAINTAINER= nivit@FreeBSD.org
|
MAINTAINER= nivit@FreeBSD.org
|
||||||
COMMENT= X Python Newsreader
|
COMMENT= X Python Newsreader
|
||||||
|
|
||||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gtk2>=2.24.0:${PORTSDIR}/x11-toolkits/py-gtk2 \
|
||||||
|
${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7.9:${PORTSDIR}/databases/py-sqlite3
|
||||||
|
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
|
||||||
FIND_DIRS= -type d
|
python_OLD_CMD= /usr/bin/env python
|
||||||
FIND_DATA= -type f -mindepth 2 -not -name "*~"
|
# we want a versioned python command
|
||||||
|
python_CMD= ${PYTHON_CMD}
|
||||||
|
|
||||||
|
SHEBANG_FILES= ${XPN}
|
||||||
SUB_FILES= ${PORTNAME}
|
SUB_FILES= ${PORTNAME}
|
||||||
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} XPN=${XPN}
|
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} XPN=${XPN}
|
||||||
|
|
||||||
USES= gettext python
|
USES= gettext python:2 shebangfix
|
||||||
|
|
||||||
XPN= ${PORTNAME}.py
|
XPN= ${PORTNAME}.py
|
||||||
|
|
||||||
|
@ -31,8 +35,8 @@ do-install:
|
||||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/${XPN} ${STAGEDIR}${DATADIR}/${XPN}
|
${INSTALL_SCRIPT} ${WRKSRC}/${XPN} ${STAGEDIR}${DATADIR}/${XPN}
|
||||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||||
cd ${WRKSRC} && ${FIND} . ${FIND_DIRS} -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} ";"
|
(cd ${WRKSRC} && \
|
||||||
cd ${WRKSRC} && ${FIND} . ${FIND_DATA} -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} ";"
|
${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} "-mindepth 2")
|
||||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${STAGEDIR}${DOCSDIR}
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,6 @@ charset, however is always possible to override this choice.
|
||||||
|
|
||||||
There also other useful features like scoring, filtered views,
|
There also other useful features like scoring, filtered views,
|
||||||
random tag-lines, external editor support, one-key navigation,
|
random tag-lines, external editor support, one-key navigation,
|
||||||
ROT13, spoiler char ...
|
ROT13, spoiler char.
|
||||||
|
|
||||||
WWW: http://xpn.altervista.org/
|
WWW: http://xpn.altervista.org/
|
||||||
|
|
|
@ -129,14 +129,3 @@ bin/xpn
|
||||||
%%DATADIR%%/xpn_src/__init__.py
|
%%DATADIR%%/xpn_src/__init__.py
|
||||||
%%DATADIR%%/xpn_src/add_tag.py
|
%%DATADIR%%/xpn_src/add_tag.py
|
||||||
%%DATADIR%%/xpn_src/nntplib_ssl.py
|
%%DATADIR%%/xpn_src/nntplib_ssl.py
|
||||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
|
||||||
@dirrm %%DATADIR%%/xpn_src
|
|
||||||
@dirrm %%DATADIR%%/pixmaps
|
|
||||||
@dirrm %%DATADIR%%/lang/it/LC_MESSAGES
|
|
||||||
@dirrm %%DATADIR%%/lang/it
|
|
||||||
@dirrm %%DATADIR%%/lang/fr/LC_MESSAGES
|
|
||||||
@dirrm %%DATADIR%%/lang/fr
|
|
||||||
@dirrm %%DATADIR%%/lang/de/LC_MESSAGES
|
|
||||||
@dirrm %%DATADIR%%/lang/de
|
|
||||||
@dirrm %%DATADIR%%/lang
|
|
||||||
@dirrm %%DATADIR%%
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue