aboutsummaryrefslogtreecommitdiffstats
path: root/converters/recode
diff options
context:
space:
mode:
Diffstat (limited to 'converters/recode')
-rw-r--r--converters/recode/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/converters/recode/Makefile b/converters/recode/Makefile
index 146d849c9475..3154cc2b747e 100644
--- a/converters/recode/Makefile
+++ b/converters/recode/Makefile
@@ -13,9 +13,16 @@ 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:
+ @${PERL} -pi -e 's|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+
.include <bsd.port.mk>