=================================================================== RCS file: /cvs/ports/graphics/uniconvw/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ports/graphics/uniconvw/Makefile 2010/10/27 08:34:46 1.3 +++ ports/graphics/uniconvw/Makefile 2010/10/27 08:46:53 1.4 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2010/10/27 07:34:46 yason Exp $ +# $OpenBSD: Makefile,v 1.4 2010/10/27 07:46:53 yason Exp $ COMMENT = Gtk frontend for UniConvertor @@ -21,7 +21,8 @@ MODULES = lang/python -RUN_DEPENDS = ::graphics/sk1project/libs +RUN_DEPENDS = ::graphics/sk1project/libs \ + :desktop-file-utils-*:devel/desktop-file-utils SEPARATE_BUILD = concurrent @@ -29,5 +30,9 @@ SUBST_VARS = V MODPY_ADJ_FILES = setup.py src/uniconvw src/__init__.py + +pre-configure: + perl -pi -e 's,/usr/share,${PREFIX}/share,g' \ + ${WRKSRC}/setup.py .include