diff options
author | jedgar <jedgar@FreeBSD.org> | 2000-02-29 10:27:02 +0800 |
---|---|---|
committer | jedgar <jedgar@FreeBSD.org> | 2000-02-29 10:27:02 +0800 |
commit | 3d1cb27d4f53c8725cd603d0a524f757ba27c2c6 (patch) | |
tree | 1a5e7753a4bea136d3b5f71c8aca0905366b56a9 /shells/perlsh/Makefile | |
parent | 21aa9200c9bd85dfdd16a7407cd4b9725e41c7e3 (diff) | |
download | freebsd-ports-gnome-3d1cb27d4f53c8725cd603d0a524f757ba27c2c6.tar.gz freebsd-ports-gnome-3d1cb27d4f53c8725cd603d0a524f757ba27c2c6.tar.zst freebsd-ports-gnome-3d1cb27d4f53c8725cd603d0a524f757ba27c2c6.zip |
Upgrade shells/perlsh to new version (perlsh 0.007).
1) Update pkg/PLIST.
2) Change to depend on perlsh's install mechanism.
3) New patch (patch-aa) fixes PREFIX problem.
4) Account for broken TCP/IP on MASTER_SITES.
5) General Makefile cleanups.
6) Addition of perlsh to perl5 virtual category.
7) Use PKGNAME to match port's name.
8) Remove unnecessary perl substitution.
PR: 17031
Submitted by: Maintainer
Diffstat (limited to 'shells/perlsh/Makefile')
-rw-r--r-- | shells/perlsh/Makefile | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/shells/perlsh/Makefile b/shells/perlsh/Makefile index fd310560a7e0..b59a8f2077a8 100644 --- a/shells/perlsh/Makefile +++ b/shells/perlsh/Makefile @@ -1,31 +1,29 @@ # New ports collection makefile for: perlsh -# Version required: 0.004pre2 +# Version required: 0.007 # Date created: 11 Dec 1999 # Whom: Will Andrews <andrews@technologist.com> # # $FreeBSD$ # -DISTNAME= psh-0.004pre2 -CATEGORIES= shells +DISTNAME= psh-${VERSION} +PKGNAME= perlsh-${VERSION} +CATEGORIES= shells perl5 MASTER_SITES= http://www.focusresearch.com/gregor/psh/ MAINTAINER= andrews@technologist.com -do-build: - @(cd ${WRKSRC} && ${PERL} Makefile.PL && ${MAKE}) +VERSION= 0.007 +USE_PERL5= yes +FETCH_BEFORE_ARGS+= -t +MAKE_ENV+= PPREFIX="${PREFIX}" +MAN1= psh.1 +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -post-build: - @${PERL} -pi -e "s/\/usr\/local\/bin\/perl/\/usr\/bin\/perl/g" ${WRKSRC}/psh +.include "${.CURDIR}/files/man3" -do-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/perlsh -.for DOC in CHANGES MANIFEST README TODO psh.NEWS pshrc test.pl psh.pod - @${INSTALL_DATA} ${WRKSRC}/${DOC} ${PREFIX}/share/perlsh -.endfor -.endif - @${INSTALL_SCRIPT} ${WRKSRC}/psh ${PREFIX}/bin +do-build: + @(cd ${WRKSRC} && ${PERL} Makefile.PL && ${MAKE}) post-install: @${ECHO} "Updating /etc/shells" |