diff options
author | roam <roam@FreeBSD.org> | 2001-04-17 13:28:57 +0000 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2001-04-17 13:28:57 +0000 |
commit | b1b5a28222d3a4ee0dc6299d57ccd511a8474d43 (patch) | |
tree | 6c34a9f3b8fc75318ac4c8aeab31f91b8b1e9351 /net | |
parent | 67739bc415bc66321cd13b643db259498bf98f85 (diff) | |
download | FreeBSD-ports-b1b5a28222d3a4ee0dc6299d57ccd511a8474d43.zip FreeBSD-ports-b1b5a28222d3a4ee0dc6299d57ccd511a8474d43.tar.gz |
Add proper PERL_VER support.
Submitted by: Anton Berezin <tobez@tobez.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/p5-Archie/Makefile | 8 | ||||
-rw-r--r-- | net/p5-Archie/pkg-plist | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/net/p5-Archie/Makefile b/net/p5-Archie/Makefile index f309a33..b861eee 100644 --- a/net/p5-Archie/Makefile +++ b/net/p5-Archie/Makefile @@ -21,10 +21,8 @@ NO_WRKSUBDIR= yes NO_BUILD= yes do-install: - @ ${CP} ${WRKDIR}/Archie.pm ${WRKDIR}/Archie-1.5.pm - @ ${MKDIR} ${PREFIX}/lib/perl5/site_perl - @ ${INSTALL_DATA} ${WRKDIR}/Archie-1.5.pm ${PREFIX}/lib/perl5/site_perl/ - @ ${LN} -sf ${PREFIX}/lib/perl5/site_perl/Archie-1.5.pm ${PREFIX}/lib/perl5/site_perl/Archie.pm - @ ${INSTALL_DATA} ${WRKDIR}/archie_gateway ${PREFIX}/lib/perl5/site_perl/ + @ ${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER} + @ ${INSTALL_DATA} ${WRKDIR}/Archie.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/ + @ ${INSTALL_SCRIPT} ${WRKDIR}/archie_gateway ${PREFIX}/bin/ .include <bsd.port.mk> diff --git a/net/p5-Archie/pkg-plist b/net/p5-Archie/pkg-plist index 8c0e953..942fec8 100644 --- a/net/p5-Archie/pkg-plist +++ b/net/p5-Archie/pkg-plist @@ -1,3 +1,2 @@ -lib/perl5/site_perl/Archie-1.5.pm -lib/perl5/site_perl/Archie.pm -lib/perl5/site_perl/archie_gateway +lib/perl5/site_perl/%%PERL_VER%%/Archie.pm +bin/archie_gateway |