1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Stage support

- Use PYDISTUTILS_AUTOPLIST
This commit is contained in:
Antoine Brodin 2014-02-02 17:15:01 +00:00
parent 21ad5f911e
commit 10043d96f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342343
2 changed files with 3 additions and 48 deletions

View File

@ -14,19 +14,14 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xpcom/vboxxpcom.py:${PORTSDIR}/emulators/virtu
USE_PYTHON= yes
USE_GNOME= gtk30 pygtk2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
INSTALLS_ICONS= yes
OPTIONS_DEFINE= NLS
NO_STAGE= yes
.include <bsd.port.options.mk>
NLS_USES= gettext
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.options.mk>
post-patch:
.if ! ${PORT_OPTIONS:MNLS}

View File

@ -1,40 +0,0 @@
bin/vboxgtk
%%PYTHON_SITELIBDIR%%/vboxgtk/__init__.py
%%PYTHON_SITELIBDIR%%/vboxgtk/__init__.pyc
%%PYTHON_SITELIBDIR%%/vboxgtk/__init__.pyo
%%PYTHON_SITELIBDIR%%/vboxgtk/dao.py
%%PYTHON_SITELIBDIR%%/vboxgtk/dao.pyc
%%PYTHON_SITELIBDIR%%/vboxgtk/dao.pyo
%%PYTHON_SITELIBDIR%%/vboxgtk/iface.py
%%PYTHON_SITELIBDIR%%/vboxgtk/iface.pyc
%%PYTHON_SITELIBDIR%%/vboxgtk/iface.pyo
%%PYTHON_SITELIBDIR%%/vboxgtk/paths.py
%%PYTHON_SITELIBDIR%%/vboxgtk/paths.pyc
%%PYTHON_SITELIBDIR%%/vboxgtk/paths.pyo
%%PYTHON_SITELIBDIR%%/vboxgtk/util.py
%%PYTHON_SITELIBDIR%%/vboxgtk/util.pyc
%%PYTHON_SITELIBDIR%%/vboxgtk/util.pyo
share/applications/vboxgtk.desktop
%%NLS%%share/locale/cs/LC_MESSAGES/vboxgtk.mo
%%NLS%%share/locale/gl/LC_MESSAGES/vboxgtk.mo
share/icons/hicolor/16x16/apps/vboxgtk.png
share/icons/hicolor/22x22/apps/vboxgtk.png
share/icons/hicolor/24x24/apps/vboxgtk.png
share/icons/hicolor/32x32/apps/vboxgtk.png
share/icons/hicolor/scalable/apps/vboxgtk.svg
%%DATADIR%%/xml/vboxgtk-actions.xml
%%DATADIR%%/xml/vboxgtk-menutoolbar.xml
%%DATADIR%%/xml/vboxgtk.xml
@dirrm %%PYTHON_SITELIBDIR%%/vboxgtk
@dirrm %%DATADIR%%/xml
@dirrm %%DATADIR%%
@dirrmtry share/icons/hicolor/16x16/apps
@dirrmtry share/icons/hicolor/16x16
@dirrmtry share/icons/hicolor/22x22/apps
@dirrmtry share/icons/hicolor/22x22
@dirrmtry share/icons/hicolor/24x24/apps
@dirrmtry share/icons/hicolor/24x24
@dirrmtry share/icons/hicolor/32x32/apps
@dirrmtry share/icons/hicolor/32x32
@dirrmtry share/icons/hicolor/scalable/apps
@dirrmtry share/icons/hicolor/scalable