=================================================================== RCS file: /cvs/ports/graphics/uniconvw/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.4 diff -u -r1.1.1.1 -r1.4 --- ports/graphics/uniconvw/Makefile 2010/10/23 13:41:43 1.1.1.1 +++ ports/graphics/uniconvw/Makefile 2010/10/27 08:46:53 1.4 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2010/10/23 12:41:43 yason Exp $ +# $OpenBSD: Makefile,v 1.4 2010/10/27 07:46:53 yason Exp $ COMMENT = Gtk frontend for UniConvertor @@ -21,16 +21,18 @@ MODULES = lang/python -RUN_DEPENDS = ::graphics/sk1project/libs +RUN_DEPENDS = ::graphics/sk1project/libs \ + :desktop-file-utils-*:devel/desktop-file-utils SEPARATE_BUILD = concurrent NO_REGRESS = Yes SUBST_VARS = V +MODPY_ADJ_FILES = setup.py src/uniconvw src/__init__.py -post-patch: - perl -pi -e 's,/usr/bin/python,${MODPY_BIN},g' ${WRKSRC}/src/uniconvw - perl -pi -e 's,/usr/bin/python,${MODPY_BIN},g' ${WRKSRC}/src/__init__.py +pre-configure: + perl -pi -e 's,/usr/share,${PREFIX}/share,g' \ + ${WRKSRC}/setup.py .include