openbsd-ports/devel/gettext/Makefile
2001-05-07 22:41:42 +00:00

37 lines
853 B
Makefile

# $OpenBSD: Makefile,v 1.19 2001/05/07 22:41:42 brad Exp $
# $FreeBSD: Makefile,v 1.4 1998/11/18 15:09:35 vanilla Exp $
COMMENT= "GNU gettext"
DISTNAME= gettext-0.10.36
CATEGORIES= devel
NEED_VERSION= 1.384
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gettext
HOMEPAGE= http://www.gnu.org/software/gettext/
LIB_DEPENDS= iconv.2::converters/libiconv
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@rm -f ${WRKSRC}/doc/gettext.info*
post-install:
${INSTALL_DATA} ${WRKSRC}/misc/po-mode.el \
${PREFIX}/share/gettext/po-mode.el
.include <bsd.port.mk>