aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Time
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-11-18 16:47:32 +0800
committerasami <asami@FreeBSD.org>1996-11-18 16:47:32 +0800
commit89a0859397e36f9ec9fcf6c32af1a07dc713705a (patch)
tree4968f80d47dfae13546d9d9ce93d50ac4bb0c435 /devel/p5-Time
parent2c4b21d4ca76c3c5b007973ee2d9f9dfca4f1ccd (diff)
downloadfreebsd-ports-graphics-89a0859397e36f9ec9fcf6c32af1a07dc713705a.tar.gz
freebsd-ports-graphics-89a0859397e36f9ec9fcf6c32af1a07dc713705a.tar.zst
freebsd-ports-graphics-89a0859397e36f9ec9fcf6c32af1a07dc713705a.zip
Use MASTER_SITE_PERL_CPAN. Use MAN? macros. CATEGORIES+= -> CATEGORIES.
Diffstat (limited to 'devel/p5-Time')
-rw-r--r--devel/p5-Time/Makefile23
1 files changed, 8 insertions, 15 deletions
diff --git a/devel/p5-Time/Makefile b/devel/p5-Time/Makefile
index 2576492dbb2..3feaad1de97 100644
--- a/devel/p5-Time/Makefile
+++ b/devel/p5-Time/Makefile
@@ -3,32 +3,25 @@
# Date created: October 12th 1996
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
-# $Id: Makefile,v 1.1.1.1 1996/10/24 08:17:02 jfitz Exp $
+# $Id: Makefile,v 1.2 1996/10/24 09:59:30 jfitz Exp $
#
DISTNAME= Time-modules-96.100201
PKGNAME= p5-Time-961002
-CATEGORIES+= devel
-MASTER_SITES= ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/Time/ \
- ftp://ftp.cdrom.com/pub/perl/CPAN/modules/by-module/Time/ \
- ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/Time/ \
- ftp://ftp.leo.org/pub/comp/programming/languages/perl/CPAN/modules/by-module/Time/ \
- ftp://ftp.demon.co.uk/pub/mirrors/perl/CPAN/modules/by-module/Time/ \
- ftp://ftp.lab.kdd.co.jp/lang/perl/CPAN/modules/by-module/Time/
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Time
MAINTAINER= jfitz@FreeBSD.ORG
BUILD_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5
RUN_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5
+MAN3= Time::CTime.3 Time::JulianDay.3 Time::ParseDate.3 \
+ Time::Timezone.3 Time::DaysInMonth.3
+MANPREFIX= ${PREFIX}/lib/perl5
+
do-configure:
@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
-post-install:
-.if !defined(NOMANCOMPRESS)
- @ for file in Time::CTime Time::JulianDay Time::ParseDate Time::Timezone Time::DaysInMonth; do \
- gzip -9nf ${PREFIX}/lib/perl5/man/man3/$$file.3; \
- done
-.endif
-
.include <bsd.port.mk>