# $NetBSD: Makefile,v 1.38 2005/09/12 13:41:31 adam Exp $ DISTNAME= libiconv-1.10 PKGREVISION= 2 CATEGORIES= converters MASTER_SITES= ${MASTER_SITE_GNU:=libiconv/} MAINTAINER= rh@NetBSD.org HOMEPAGE= http://www.gnu.org/software/libiconv/ COMMENT= Character set conversion library PATCH_SITES= http://www2d.biglobe.ne.jp/~msyk/software/libiconv/ PATCHFILES= libiconv-1.10-cp932.patch.gz PATCH_DIST_STRIP= -p1 PKG_INSTALLATION_TYPES= overwrite pkgviews USE_LIBTOOL= yes USE_PKGINSTALL= yes GNU_CONFIGURE= yes TEST_TARGET= check EGDIR= ${PREFIX}/share/examples/libiconv REQD_FILES= ${EGDIR}/charset.alias ${PREFIX}/lib/charset.alias MAKE_ENV+= PAX="${PAX}" # remove any existing charset.alias; if it already exists, libiconv does # not overwrite it, and older versions of libiconv wrote incorrect # charset.alias files, which were not removed during deinstall since # other packages touched them. pre-install: ${RM} -f ${PREFIX}/lib/charset.alias # be sure to install a new charset.alias post-install: cd ${WRKSRC}/libcharset/lib && ${MAKE} libdir=${EGDIR} \ install-charset-alias .include "../../mk/bsd.pkg.mk"