=================================================================== RCS file: /cvs/ports/graphics/uniconvertor/Makefile,v retrieving revision 1.2 retrieving revision 1.5 diff -u -r1.2 -r1.5 --- ports/graphics/uniconvertor/Makefile 2010/02/10 07:32:48 1.2 +++ ports/graphics/uniconvertor/Makefile 2010/10/27 08:12:05 1.5 @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.2 2010/02/10 07:32:48 yason Exp $ +# $OpenBSD: Makefile,v 1.5 2010/10/27 07:12:05 yason Exp $ COMMENT = universal vector graphics translator -V = 1.1.4 +V = 1.1.5 DISTNAME = uniconvertor-${V} CATEGORIES = graphics @@ -17,22 +17,15 @@ PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes -MASTER_SITES = http://sk1project.org/downloads/uniconvertor/v${V}/ +MASTER_SITES = http://uniconvertor.googlecode.com/files/ MODULES = lang/python NO_REGRESS = Yes -WRKDIST = ${WRKDIR}/UniConvertor-${V} +SEPARATE_BUILD = concurrent -post-patch: - perl -pi -e 's,python,${MODPY_BIN},g' ${WRKSRC}/src/uniconv - perl -pi -e 's,/usr/bin/python,${MODPY_BIN},g' ${WRKSRC}/src/__init__.py - -post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uniconvertor -.for i in COPYRIGHTS GNU_GPL_v2 GNU_LGPL_v2 - ${INSTALL_DATA} ${WRKSRC}/src/$i ${PREFIX}/share/doc/uniconvertor/ -.endfor +SUBST_VARS = V +MODPY_ADJ_FILES = setup.py src/uniconv src/__init__.py .include