mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
8f71f15c0d
- Invalid PYDISTUTILS_NOEGGINFO should be removed Approved by: maintainer (via email)
37 lines
987 B
Makefile
37 lines
987 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}
|
|
NO_STAGE= yes
|
|
USE_GNOME= pygtk2
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
PLIST_SUB= PORTVERSION="${PORTVERSION}"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,/usr/share/pixmaps,${PREFIX}/share/pixmaps,g' \
|
|
${WRKSRC}/gmapcatcher/widgets/mapPixbuf.py
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/mapcatcher ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/mapdownloader ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/changelog ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|