openbsd-ports/devel/gettext/Makefile

45 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.35 2005/01/27 02:09:52 naddy 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
2004-10-24 16:03:31 -04:00
PKGNAME= ${DISTNAME}p2
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/
2004-08-10 08:42:21 -04:00
MODULES= converters/libiconv
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
2004-11-23 06:22:00 -05:00
WANTLIB= c
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"
2004-08-05 12:14:48 -04:00
EXTRA_LOCALES=bg en eo fi he hu hr lv nb ro sk uk zh_CN zh_TW
2001-08-27 15:16:00 -04:00
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
@for l in ${EXTRA_LOCALES}; do \
${INSTALL_DATA_DIR} ${PREFIX}/share/locale/$$l/LC_MESSAGES; \
done
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>