From 4acac02ea9b40ea9f3c8ff5043bd665173351093 Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 3 May 2001 04:28:25 +0000 Subject: [PATCH] Install locale files under ${PKGLOCALEDIR} instead of always under share. Cosmetic file changes to Makefile.common. --- graphics/freetype-lib/Makefile.common | 9 ++++----- graphics/freetype-lib/pkg/PLIST | 12 ++++++------ 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/graphics/freetype-lib/Makefile.common b/graphics/freetype-lib/Makefile.common index f6f4070f1003..663a63d6e31a 100644 --- a/graphics/freetype-lib/Makefile.common +++ b/graphics/freetype-lib/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.9 2001/05/03 04:24:35 jlam Exp $ +# $NetBSD: Makefile.common,v 1.10 2001/05/03 04:28:25 jlam Exp $ DISTNAME= freetype-${FT_VERS} FT_VERS= 1.3.1 @@ -10,17 +10,16 @@ MASTER_SITES= http://download.sourceforge.net/freetype/ \ MAINTAINER= jlam@netbsd.org HOMEPAGE= http://www.freetype.org/ -BUILD_USES_MSGFMT= yes +BUILD_USES_MSGFMT= # defined +USE_LIBINTL= # defined USE_LIBTOOL= # defined LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig GNU_CONFIGURE= # defined -CONFIGURE_ARGS+= --with-locale-dir=${PREFIX}/share/locale +CONFIGURE_ARGS+= --with-locale-dir=${PREFIX}/${PKGLOCALEDIR}/locale CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" -USE_LIBINTL= yes - CFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include diff --git a/graphics/freetype-lib/pkg/PLIST b/graphics/freetype-lib/pkg/PLIST index 82eb4717f6c9..f9b25810f52d 100644 --- a/graphics/freetype-lib/pkg/PLIST +++ b/graphics/freetype-lib/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2001/01/04 15:10:37 agc Exp $ +@comment $NetBSD: PLIST,v 1.5 2001/05/03 04:28:25 jlam Exp $ include/freetype/freetype.h include/freetype/fterrid.h include/freetype/ftnameid.h @@ -18,9 +18,9 @@ lib/libttf.la lib/libttf.so lib/libttf.so.4 lib/libttf.so.4.0 -share/locale/cs/LC_MESSAGES/freetype.mo -share/locale/de/LC_MESSAGES/freetype.mo -share/locale/es/LC_MESSAGES/freetype.mo -share/locale/fr/LC_MESSAGES/freetype.mo -share/locale/nl/LC_MESSAGES/freetype.mo +${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/freetype.mo +${PKGLOCALEDIR}/locale/de/LC_MESSAGES/freetype.mo +${PKGLOCALEDIR}/locale/es/LC_MESSAGES/freetype.mo +${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/freetype.mo +${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/freetype.mo @dirrm include/freetype