=================================================================== RCS file: /cvs/ports/graphics/uniconvw/Makefile,v retrieving revision 1.2 retrieving revision 1.5 diff -u -r1.2 -r1.5 --- ports/graphics/uniconvw/Makefile 2010/10/27 08:07:56 1.2 +++ ports/graphics/uniconvw/Makefile 2010/12/08 05:01:31 1.5 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2010/10/27 07:07:56 yason Exp $ +# $OpenBSD: Makefile,v 1.5 2010/12/08 05:01:31 yason Exp $ COMMENT = Gtk frontend for UniConvertor @@ -21,13 +21,18 @@ MODULES = lang/python -RUN_DEPENDS = ::graphics/sk1project/libs +RUN_DEPENDS = graphics/sk1project/libs \ + devel/desktop-file-utils SEPARATE_BUILD = concurrent NO_REGRESS = Yes SUBST_VARS = V -MODPY_ADJ_FILES = src/uniconvw src/__init__.py +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