openbsd-ports/productivity/googlecl/Makefile
2011-06-08 17:31:05 +00:00

41 lines
906 B
Makefile

# $OpenBSD: Makefile,v 1.8 2011/06/08 17:37:46 jasper Exp $
COMMENT= command-line interface to Google services
MODPY_EGG_VERSION= 0.9.8
DISTNAME= googlecl-${MODPY_EGG_VERSION}
REVISION = 4
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>