-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
45 lines (32 loc) · 1.03 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# $OpenBSD: Makefile,v 1.12 2011/09/16 09:48:10 espie Exp $
COMMENT= offline maps viewer
MODPY_EGG_VERSION= 0.7.6.1
DISTNAME= GMapCatcher-${MODPY_EGG_VERSION}
PKGNAME= gmapcatcher-${MODPY_EGG_VERSION}
REVISION= 0
CATEGORIES= geo x11
HOMEPAGE= http://code.google.com/p/gmapcatcher/
MAINTAINER= Kevin Lo <[email protected]>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://gmapcatcher.googlecode.com/files/
MODULES= lang/python
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= devel/desktop-file-utils \
x11/py-gtk2>=1.10 \
databases/py-sqlite2 \
graphics/py-Imaging \
x11/gnome/librsvg
USE_GROFF = Yes
NO_REGRESS= Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/gmapcatcher/mapPixbuf.py
@find ${WRKSRC} -name \*.py | \
xargs perl -i -pe 's,^#!/usr/bin/env python,#!${MODPY_BIN},'
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/maps.py ${PREFIX}/bin/mapcatcher
${INSTALL_SCRIPT} ${WRKSRC}/download.py ${PREFIX}/bin/mapdownloader
.include <bsd.port.mk>