openbsd-ports/devel/gettext/Makefile

42 lines
947 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.29 2004/01/31 21:41:56 brad Exp $
1998-11-24 02:30:48 -05:00
2001-04-04 15:51:40 -04:00
COMMENT= "GNU gettext"
2001-09-18 23:37:20 -04:00
DISTNAME= gettext-0.10.40
PKGNAME= ${DISTNAME}p1
1998-11-24 02:30:48 -05:00
CATEGORIES= devel
2002-05-13 14:50:36 -04:00
MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
1999-03-29 17:44:23 -05:00
HOMEPAGE= http://www.gnu.org/software/gettext/
2001-09-23 01:32:18 -04:00
MODULES= iconv
2001-05-07 18:41:42 -04:00
2000-09-23 21:23:42 -04:00
MAINTAINER= Brad Smith <brad@openbsd.org>
1998-11-24 02:30:48 -05:00
# GPL
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+= --with-included-gettext
2001-05-07 18:41:42 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${WRKBUILD}/intl/.libs -L${LOCALBASE}/lib"
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
@cd ${PREFIX}/lib && \
perl -pi -e s#'-L${WRKBUILD}/intl/.libs '#''#g \
libintl.la
1998-11-24 02:30:48 -05:00
do-regress:
@cd ${WRKBUILD}/tests && ${MAKE_PROGRAM} check-TESTS
1998-11-24 02:30:48 -05:00
.include <bsd.port.mk>