- Update MASTER_SITES to make fetchable

- Fix command lines in the do-install target
  * not to use undefined variable: INSTALL_DIR
  * not to use SITE_PERL that contains LOCALBASE
This commit is contained in:
TAKATSU Tomonari 2011-05-28 01:38:04 +00:00
parent 15406a2370
commit ee45b61d33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=274750

View file

@ -8,7 +8,9 @@
PORTNAME= jcode.pl
PORTVERSION= 2.13
CATEGORIES= japanese perl5
MASTER_SITES= http://srekcah.org/jcode/
MASTER_SITES= ftp://ftp.iij.ad.jp/pub/IIJ/dist/utashiro/perl/ \
ftp://ftp.sra.co.jp/pub/lang/perl/sra-scripts/ \
http://srekcah.org/jcode/
EXTRACT_SUFX= # none
MAINTAINER= ports@FreeBSD.org
@ -24,7 +26,7 @@ EXTRACT_AFTER_ARGS= .
PLIST_FILES= %%SITE_PERL%%/${PORTNAME}
do-install:
${MKDIR} ${INSTALL_DIR}/
${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${SITE_PERL}/${PORTNAME}
${MKDIR} ${PREFIX}/${SITE_PERL_REL}/
${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}
.include <bsd.port.mk>