version 1.2, 2010/02/10 07:32:48 |
version 1.4, 2010/10/27 08:10:04 |
|
|
|
|
COMMENT = universal vector graphics translator |
COMMENT = universal vector graphics translator |
|
|
V = 1.1.4 |
V = 1.1.5 |
DISTNAME = uniconvertor-${V} |
DISTNAME = uniconvertor-${V} |
|
|
CATEGORIES = graphics |
CATEGORIES = graphics |
|
|
PERMIT_DISTFILES_CDROM =Yes |
PERMIT_DISTFILES_CDROM =Yes |
PERMIT_DISTFILES_FTP = Yes |
PERMIT_DISTFILES_FTP = Yes |
|
|
MASTER_SITES = http://sk1project.org/downloads/uniconvertor/v${V}/ |
MASTER_SITES = http://uniconvertor.googlecode.com/files/ |
|
|
MODULES = lang/python |
MODULES = lang/python |
|
|
NO_REGRESS = Yes |
NO_REGRESS = Yes |
|
|
WRKDIST = ${WRKDIR}/UniConvertor-${V} |
SEPARATE_BUILD = concurrent |
|
|
post-patch: |
SUBST_VARS = V |
perl -pi -e 's,python,${MODPY_BIN},g' ${WRKSRC}/src/uniconv |
MODPY_ADJ_FILES = src/uniconv src/__init__.py |
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 |
|
|
|
.include <bsd.port.mk> |
.include <bsd.port.mk> |