aboutsummaryrefslogtreecommitdiff
path: root/converters/p5-Convert-Recode/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'converters/p5-Convert-Recode/Makefile')
-rw-r--r--converters/p5-Convert-Recode/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/converters/p5-Convert-Recode/Makefile b/converters/p5-Convert-Recode/Makefile
new file mode 100644
index 000000000000..383492628277
--- /dev/null
+++ b/converters/p5-Convert-Recode/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: p5-Convert-Recode
+# Version required: 1.03
+# Date created: 17 January 2000
+# Whom: Dmitry Sivachenko <dima@Chg.RU>
+#
+# $FreeBSD$
+#
+
+DISTNAME= Convert-Recode-1.03
+PKGNAME= p5-Convert-Recode-1.03
+CATEGORIES= converters perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Convert
+
+MAINTAINER= dima@Chg.RU
+
+RUN_DEPENDS= recode:${PORTSDIR}/converters/recode
+
+USE_PERL5= YES
+
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+MAN3= Convert::Recode.3
+
+post-patch:
+ ${PERL} -pi -e 's#recode -\$$#${PREFIX}/bin/recode -\$$#' \
+ ${WRKSRC}/Recode.pm
+
+do-configure:
+ @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL PREFIX=${PREFIX}
+
+.include <bsd.port.mk>