1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/astro/gmapcatcher/Makefile
Baptiste Daroussin f75362a8fc Support stage
2014-04-04 22:56:19 +00:00

36 lines
1019 B
Makefile

# $FreeBSD$
PORTNAME= gmapcatcher
PORTVERSION= 0.8.0.4
CATEGORIES= astro geography
MASTER_SITES= http://gmapcatcher.googlecode.com/files/
DISTNAME= mapcatcher_${PORTVERSION}
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Offline map viewer
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/g}
USE_GNOME= pygtk2
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
PLIST_SUB= PORTVERSION="${PORTVERSION}"
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>