aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-06 12:34:40 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-06 12:34:40 +0000
commit158625fe0aeefcd34331d8c7db732b70802077e5 (patch)
tree0cfaea170335c14f61d57fddc8c8e6f99bf6a4f0 /misc
parent43d9a595244fd43527e8fc318b2625970bc0898b (diff)
downloadports-158625fe0aeefcd34331d8c7db732b70802077e5.tar.gz
ports-158625fe0aeefcd34331d8c7db732b70802077e5.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/p5-List-Compare/Makefile44
-rw-r--r--misc/p5-List-Compare/pkg-plist14
2 files changed, 27 insertions, 31 deletions
diff --git a/misc/p5-List-Compare/Makefile b/misc/p5-List-Compare/Makefile
index f80401ff17e8..0d56be75600c 100644
--- a/misc/p5-List-Compare/Makefile
+++ b/misc/p5-List-Compare/Makefile
@@ -1,44 +1,26 @@
# Created by: Dmitry Morozovsky <marck@FreeBSD.org>
# $FreeBSD$
-PORTNAME= List-Compare
+PORTNAME= List-Compare
PORTVERSION= 0.37
-CATEGORIES= misc perl5
-MASTER_SITES= CPAN
-PKGNAMEPREFIX= p5-
+CATEGORIES= misc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
-MAINTAINER= marck@FreeBSD.org
-COMMENT= Perl extension for comparing lists
+MAINTAINER= marck@FreeBSD.org
+COMMENT= Perl extension for comparing lists
USES= perl5
USE_PERL5= configure
-NO_STAGE= yes
-
-PLIST_FILES= \
- ${SITE_PERL_REL}/List/Compare.pm \
- ${SITE_PERL_REL}/List/Compare/Base/_Auxiliary.pm \
- ${SITE_PERL_REL}/List/Compare/Base/_Engine.pm \
- ${SITE_PERL_REL}/List/Compare/Functional.pm \
- ${SITE_PERL_REL}/${PERL_ARCH}/auto/List/Compare/.packlist
-PLIST_DIRS+= \
- ${SITE_PERL_REL}/List/Compare/Base \
- ${SITE_PERL_REL}/List/Compare \
- ${SITE_PERL_REL}/List \
- ${SITE_PERL_REL}/${PERL_ARCH}/auto/List/Compare \
- ${SITE_PERL_REL}/${PERL_ARCH}/auto/List
-
-MAN3= List::Compare.3 \
- List::Compare::Base::_Auxiliary.3 \
- List::Compare::Base::_Engine.3 \
- List::Compare::Functional.3
-
-.if !defined(NOPORTDOCS)
+
+OPTIONS_DEFINE= DOCS
+
PORTDOCS= Changes README
+.include <bsd.port.options.mk>
+
post-install:
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
- @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/misc/p5-List-Compare/pkg-plist b/misc/p5-List-Compare/pkg-plist
new file mode 100644
index 000000000000..f79fca6fcb8b
--- /dev/null
+++ b/misc/p5-List-Compare/pkg-plist
@@ -0,0 +1,14 @@
+%%PERL5_MAN3%%/List::Compare.3.gz
+%%PERL5_MAN3%%/List::Compare::Base::_Auxiliary.3.gz
+%%PERL5_MAN3%%/List::Compare::Base::_Engine.3.gz
+%%PERL5_MAN3%%/List::Compare::Functional.3.gz
+%%SITE_PERL%%/List/Compare.pm
+%%SITE_PERL%%/List/Compare/Functional.pm
+%%SITE_PERL%%/List/Compare/Base/_Auxiliary.pm
+%%SITE_PERL%%/List/Compare/Base/_Engine.pm
+%%SITE_PERL%%/mach/auto/List/Compare/.packlist
+@dirrmtry %%SITE_PERL%%/mach/auto/List/Compare
+@dirrmtry %%SITE_PERL%%/mach/auto/List
+@dirrmtry %%SITE_PERL%%/List/Compare/Base
+@dirrmtry %%SITE_PERL%%/List/Compare
+@dirrmtry %%SITE_PERL%%/List