openbsd-ports/productivity/googlecl/Makefile
2011-09-16 11:13:37 +00:00

41 lines
905 B
Makefile

# $OpenBSD: Makefile,v 1.9 2011/09/16 11:13:41 espie Exp $
COMMENT= command-line interface to Google services
MODPY_EGG_VERSION= 0.9.8
DISTNAME= googlecl-${MODPY_EGG_VERSION}
REVISION = 5
CATEGORIES= productivity devel www
HOMEPAGE= http://code.google.com/p/googlecl/
MAINTAINER= Damien Miller <djm@openbsd.org>
MODULES= lang/python
PKG_ARCH= *
# Apache 2.0
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://googlecl.googlecode.com/files/
MODPY_SETUPTOOLS= Yes
USE_GROFF = Yes
RUN_DEPENDS= devel/py-gdata
NO_REGRESS= Yes
# Use the version of python we are configured against.
post-extract:
perl -p -i -e 's|^\#\!/usr/bin/python2.5|\#\!${MODPY_BIN}|' \
${WRKSRC}/src/google
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/google.1 ${PREFIX}/man/man1
.include <bsd.port.mk>