# New ports collection makefile for: recode # Date created: 14 Jul 1995 # Whom: torstenb@FreeBSD.org # # $FreeBSD$ # PORTNAME= recode PORTVERSION= 3.5 PORTREVISION= 1 CATEGORIES= converters MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= recode MAINTAINER= torstenb@FreeBSD.org LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext USE_LIBTOOL= yes INSTALLS_SHLIB= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -lintl" MAN1= recode.1 pre-patch: @${CP} ${FILESDIR}/ru.po ${WRKSRC}/po/ @${PERL} -pi -e 's|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure .include