openbsd-ports/productivity/googlecl/Makefile
2010-07-05 14:37:59 +00:00

40 lines
903 B
Makefile

# $OpenBSD: Makefile,v 1.2 2010/07/05 14:37:59 ajacoutot Exp $
COMMENT= command-line interface to Google services
MODPY_EGG_VERSION= 0.9.8
DISTNAME= googlecl-${MODPY_EGG_VERSION}
PKGNAME= ${DISTNAME}p0
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/
USE_SETUPTOOLS= Yes
LIB_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>