2004-01-31 16:41:56 -05:00
|
|
|
# $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
|
2002-11-29 00:07:01 -05:00
|
|
|
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
|
|
|
|
2000-07-19 01:29:04 -04: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
|
|
|
|
2004-01-31 16:41:56 -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
|
|
|
|
2000-06-27 20:44:05 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
1999-03-29 17:44:23 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2004-01-31 16:41:56 -05:00
|
|
|
CONFIGURE_ARGS+= --with-included-gettext
|
2001-05-07 18:41:42 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2001-12-02 17:35:26 -05:00
|
|
|
LDFLAGS="-L${WRKBUILD}/intl/.libs -L${LOCALBASE}/lib"
|
2001-05-15 09:12:24 -04:00
|
|
|
|
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
|
2002-11-29 00:07:01 -05:00
|
|
|
@cd ${PREFIX}/lib && \
|
2004-01-31 16:41:56 -05:00
|
|
|
perl -pi -e s#'-L${WRKBUILD}/intl/.libs '#''#g \
|
|
|
|
libintl.la
|
1998-11-24 02:30:48 -05:00
|
|
|
|
2001-12-02 17:35:26 -05:00
|
|
|
do-regress:
|
|
|
|
@cd ${WRKBUILD}/tests && ${MAKE_PROGRAM} check-TESTS
|
|
|
|
|
1998-11-24 02:30:48 -05:00
|
|
|
.include <bsd.port.mk>
|