aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-02-27 22:18:36 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-02-27 22:18:36 +0000
commit32578850f4dfb083c219a358c885d1f0ff077546 (patch)
tree58ddccbe6c267cff0745a69538ce24dafef3b530 /converters
parentd8f805495a09d39b0cff38daee621c78892cb239 (diff)
downloadports-32578850f4dfb083c219a358c885d1f0ff077546.tar.gz
ports-32578850f4dfb083c219a358c885d1f0ff077546.zip
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/p5-JSON-PP/Makefile15
-rw-r--r--converters/p5-JSON-PP/pkg-plist1
2 files changed, 1 insertions, 15 deletions
diff --git a/converters/p5-JSON-PP/Makefile b/converters/p5-JSON-PP/Makefile
index 80c02d3f1ee1..d4e121367941 100644
--- a/converters/p5-JSON-PP/Makefile
+++ b/converters/p5-JSON-PP/Makefile
@@ -17,21 +17,8 @@ LICENSE_COMB= dual
USE_PERL5= configure
USES= perl5
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 501400
-PLIST_SUB= BIN_JSON_PP=""
-.else
-PLIST_SUB= BIN_JSON_PP="@comment "
-.endif
-
pre-patch:
@${MV} ${WRKSRC}/bin/json_pp ${WRKSRC}/bin/p5json_pp
@${REINPLACE_CMD} -e 's|bin/json_pp|bin/p5json_pp|' ${WRKSRC}/MANIFEST ${WRKSRC}/Makefile.PL
-post-install:
-.if ${PERL_LEVEL} < 501400
- ${CP} -p ${STAGEDIR}${PREFIX}/bin/p5json_pp ${STAGEDIR}${PREFIX}/bin/json_pp
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/converters/p5-JSON-PP/pkg-plist b/converters/p5-JSON-PP/pkg-plist
index eb20bc7b16a1..cb22099551a9 100644
--- a/converters/p5-JSON-PP/pkg-plist
+++ b/converters/p5-JSON-PP/pkg-plist
@@ -1,4 +1,3 @@
-%%BIN_JSON_PP%%bin/json_pp
bin/p5json_pp
%%SITE_PERL%%/JSON/PP.pm
%%SITE_PERL%%/JSON/PP/Boolean.pm