- Convert to new options framework
- Cleanup Makefile header
This commit is contained in:
parent
ea1ab350f8
commit
2df9606e6b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311729
1 changed files with 8 additions and 10 deletions
|
@ -1,9 +1,5 @@
|
|||
# New ports collection makefile for: p5-DateTime-Set
|
||||
# Date created: 26 june 2003
|
||||
# Whom: Mathieu Arnold <m@absolight.net>
|
||||
#
|
||||
# Created by: Mathieu Arnold <m@absolight.net>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= DateTime-Set
|
||||
PORTVERSION= 0.31
|
||||
|
@ -16,8 +12,9 @@ COMMENT= Datetime sets and set math
|
|||
|
||||
BUILD_DEPENDS= p5-DateTime>=0.12:${PORTSDIR}/devel/p5-DateTime \
|
||||
p5-Set-Infinite>=0.59:${PORTSDIR}/devel/p5-Set-Infinite
|
||||
RUN_DEPENDS= p5-DateTime>=0.12:${PORTSDIR}/devel/p5-DateTime \
|
||||
p5-Set-Infinite>=0.59:${PORTSDIR}/devel/p5-Set-Infinite
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
|
@ -25,14 +22,15 @@ MAN3= DateTime::Set.3 \
|
|||
DateTime::Span.3 \
|
||||
DateTime::SpanSet.3 \
|
||||
Set::Infinite::_recurrence.3
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= Changes README TODO
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}/
|
||||
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
|
||||
${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue