freebsd-ports/astro/gmapcatcher/Makefile
Marcus von Appen 2af02b02dc - Convert devel/py-turbojson11 to new USES=python
- Clean up leftovers from astro/gmapcatcher

With hat:	python@
2015-01-03 09:14:10 +00:00

34 lines
972 B
Makefile

# $FreeBSD$
PORTNAME= gmapcatcher
PORTVERSION= 0.8.0.4
PORTREVISION= 1
CATEGORIES= astro geography
MASTER_SITES= http://gmapcatcher.googlecode.com/files/
DISTNAME= mapcatcher_${PORTVERSION}
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Offline map viewer
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/g}
USES= python
USE_GNOME= pygtk2
USE_PYTHON= autoplist distutils
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's,/usr/share/pixmaps,${PREFIX}/share/pixmaps,g' \
${WRKSRC}/gmapcatcher/widgets/mapPixbuf.py
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/mapcatcher ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/mapdownloader ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/changelog ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>