openbsd-ports/devel/iso-codes/Makefile
2011-04-05 16:28:04 +00:00

36 lines
734 B
Makefile

# $OpenBSD: Makefile,v 1.27 2011/04/05 16:28:04 jasper Exp $
COMMENT= lists of the country, language and currency iso names
DISTNAME= iso-codes-3.25
CATEGORIES= devel
HOMEPAGE= http://alioth.debian.org/projects/pkg-isocodes/
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/ \
http://distfiles.nl/
EXTRACT_SUFX= .tar.bz2
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
MODULES= lang/python
MODPY_RUNDEP= No
BUILD_DEPENDS= devel/gettext
FAKE_FLAGS= pkgconfigdir=${PREFIX}/lib/pkgconfig
post-extract:
@perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},' \
${WRKSRC}/iso2pot.py
.include <bsd.port.mk>