summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-05-07 12:41:29 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-05-07 12:41:29 +0000
commit81d8888d18a135160ab0402712ce987d839d9db8 (patch)
tree854e39b3ed83af92a6effc50ff2e6c22ad5ef419
parent21be862b079856c4286bdf72a0dbcb77971a507d (diff)
downloadfreebsd-ports-81d8888d18a135160ab0402712ce987d839d9db8.zip
- Add staging support
- Needs USES=desktop-files-utils to register supported mime types
-rw-r--r--editors/scribes/Makefile7
-rw-r--r--editors/scribes/pkg-plist2
2 files changed, 3 insertions, 6 deletions
diff --git a/editors/scribes/Makefile b/editors/scribes/Makefile
index 01c27ffc64ea..bcc128604da5 100644
--- a/editors/scribes/Makefile
+++ b/editors/scribes/Makefile
@@ -3,7 +3,7 @@
PORTNAME= scribes
PORTVERSION= 0.4.b954
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= editors
MASTER_SITES= https://launchpadlibrarian.net/66129407/
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-dev-${PORTVERSION:E:S/b/build/}
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:${PORTSDIR}/devel/py-dbus \
${LOCALBASE}/share/xml/docbook/4.5:${PORTSDIR}/textproc/docbook-xml \
yelp:${PORTSDIR}/x11/yelp
-USES= gettext gmake shebangfix tar:bzip2
+USES= desktop-file-utils gettext gmake shebangfix tar:bzip2
SHEBANG_FILES= scribes.in
USE_GNOME= gnomeprefix pygnomeextras pygtksourceview gnomedocutils
USE_PYTHON= yes
@@ -30,8 +30,7 @@ INSTALLS_OMF= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
post-install:
- @${PYTHON_CMD} -m compileall ${PREFIX}/lib/scribes
+ @(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -m compileall lib/scribes)
.include <bsd.port.mk>
diff --git a/editors/scribes/pkg-plist b/editors/scribes/pkg-plist
index b71e1c509bd1..5d5e0fb61e51 100644
--- a/editors/scribes/pkg-plist
+++ b/editors/scribes/pkg-plist
@@ -1750,7 +1750,6 @@ lib/scribes/GenericPlugins/OpenFile/Trigger.pyo
lib/scribes/GenericPlugins/OpenFile/__init__.py
lib/scribes/GenericPlugins/OpenFile/__init__.pyc
lib/scribes/GenericPlugins/OpenFile/__init__.pyo
-lib/scribes/GenericPlugins/Paragraph/.__junk
lib/scribes/GenericPlugins/Paragraph/Manager.py
lib/scribes/GenericPlugins/Paragraph/Manager.pyc
lib/scribes/GenericPlugins/Paragraph/Manager.pyo
@@ -2301,7 +2300,6 @@ lib/scribes/GenericPlugins/SaveFile/Trigger.pyo
lib/scribes/GenericPlugins/SaveFile/__init__.py
lib/scribes/GenericPlugins/SaveFile/__init__.pyc
lib/scribes/GenericPlugins/SaveFile/__init__.pyo
-lib/scribes/GenericPlugins/ScrollNavigation/.__junk
lib/scribes/GenericPlugins/ScrollNavigation/Manager.py
lib/scribes/GenericPlugins/ScrollNavigation/Manager.pyc
lib/scribes/GenericPlugins/ScrollNavigation/Manager.pyo