openbsd-ports/devel/gettext/Makefile

51 lines
1.3 KiB
Makefile
Raw Normal View History

2001-08-27 15:16:00 -04:00
# $OpenBSD: Makefile,v 1.23 2001/08/27 19:16:00 brad Exp $
1998-11-24 02:30:48 -05:00
# $FreeBSD: Makefile,v 1.4 1998/11/18 15:09:35 vanilla Exp $
2001-04-04 15:51:40 -04:00
COMMENT= "GNU gettext"
2001-08-27 15:16:00 -04:00
DISTNAME= gettext-0.10.39
1998-11-24 02:30:48 -05:00
CATEGORIES= devel
2001-08-27 15:16:00 -04:00
NEED_VERSION= 1.435
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gettext
1999-03-29 17:44:23 -05:00
HOMEPAGE= http://www.gnu.org/software/gettext/
2001-05-07 18:41:42 -04:00
LIB_DEPENDS= iconv.2::converters/libiconv
2000-09-23 21:23:42 -04:00
MAINTAINER= Brad Smith <brad@openbsd.org>
1998-11-24 02:30:48 -05:00
2000-03-07 02:51:32 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 03:02:07 -05:00
CONFIGURE_STYLE= gnu
1999-03-29 17:44:23 -05:00
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
2001-05-07 18:41:42 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
1998-11-24 02:30:48 -05:00
pre-extract:
@if [ -f ${LOCALBASE}/lib/libintl.so.?.? ]; then \
echo "+-------------------"; \
echo "| ERROR: you MUST remove the existing gettext installation"; \
echo "| before compiling this version. To fully remove run"; \
echo "| these commands as user root"; \
echo "|"; \
echo "| pkg_delete -f `pkg_info -e 'gettext-*'`"; \
echo "| ldconfig -R"; \
echo "|"; \
echo "+-------------------"; \
exit 1; \
fi
2001-08-27 15:16:00 -04:00
post-extract:
@rm -f ${WRKSRC}/doc/gettext.info*
1998-11-24 02:30:48 -05:00
post-install:
1999-03-29 17:44:23 -05:00
${INSTALL_DATA} ${WRKSRC}/misc/po-mode.el \
${PREFIX}/share/gettext/po-mode.el
1998-11-24 02:30:48 -05:00
.include <bsd.port.mk>