aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-PerlPoint-Converters
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-04-24 15:20:56 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-04-24 15:20:56 +0000
commit5a22a2404acd69d972da02505a221b449ce806c6 (patch)
tree848e5ff567d78161adb34a2ea877f391888795c0 /textproc/p5-PerlPoint-Converters
parent3aa5d66d4ba6d5b7fc604455e8600f619c8c6945 (diff)
downloadports-5a22a2404acd69d972da02505a221b449ce806c6.tar.gz
ports-5a22a2404acd69d972da02505a221b449ce806c6.zip
Use real PORTVERSION
- Add NO_ARCH - Use MAKE_CMD - Convert to options target helper
Notes
Notes: svn path=/head/; revision=439326
Diffstat (limited to 'textproc/p5-PerlPoint-Converters')
-rw-r--r--textproc/p5-PerlPoint-Converters/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/textproc/p5-PerlPoint-Converters/Makefile b/textproc/p5-PerlPoint-Converters/Makefile
index 731acd343788..fca83edfaf61 100644
--- a/textproc/p5-PerlPoint-Converters/Makefile
+++ b/textproc/p5-PerlPoint-Converters/Makefile
@@ -2,12 +2,10 @@
# $FreeBSD$
PORTNAME= PerlPoint-Converters
-PORTVERSION= 1.02.05
-PORTREVISION= 1
+PORTVERSION= 1.0205
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
-DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(..)$/\1/}
MAINTAINER= perl@FreeBSD.org
COMMENT= Convert PerlPoint docs into various formats
@@ -16,8 +14,10 @@ BUILD_DEPENDS= p5-PerlPoint-Package>=0:textproc/p5-PerlPoint-Package \
p5-Getopt-ArgvFile>=0:devel/p5-Getopt-ArgvFile
RUN_DEPENDS:= ${BUILD_DEPENDS}
+NO_ARCH= yes
USES= perl5
USE_PERL5= configure patch
+
OPTIONS_DEFINE= DOCS
PORTDOCS= # suck all DOCSDIR
@@ -27,9 +27,9 @@ post-patch:
@${PERL} -pi -e 's!../(images|pp2html_styles)!$$1!g' ${WRKSRC}/doc/*.cfg
post-build:
- @(cd ${WRKSRC}/doc && ${MAKE})
+ @(cd ${WRKSRC}/doc && ${MAKE_CMD})
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})