diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-04-30 23:32:30 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-04-30 23:32:30 +0000 |
commit | 224873384d8a03ba29e4eb171786203c890e2de3 (patch) | |
tree | 69883dc539efeb205280c15c3cb44232e991ee70 /japanese/pycodec/Makefile | |
parent | Update to 1.2.6 (diff) |
Update to 1.4.5
PR: 37172
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=58388
Diffstat (limited to 'japanese/pycodec/Makefile')
-rw-r--r-- | japanese/pycodec/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/japanese/pycodec/Makefile b/japanese/pycodec/Makefile index 98d438299895..eee0798a4454 100644 --- a/japanese/pycodec/Makefile +++ b/japanese/pycodec/Makefile @@ -6,9 +6,9 @@ # PORTNAME= pycodec -PORTVERSION= 1.4.4 +PORTVERSION= 1.4.5 CATEGORIES= japanese python converters -MASTER_SITES= ftp://ftp.python.jp/JapaneseCodecs/ \ +MASTER_SITES= http://www.python.jp/Zope/download/JapaneseCodecs/ \ http://pseudo.grad.sccs.chukyo-u.ac.jp/~kajiyama/python/ \ http://www3.kr.freebsd.org/~perky/distfiles/ DISTNAME= JapaneseCodecs-${PORTVERSION} @@ -18,16 +18,19 @@ MAINTAINER= perky@fallin.lv BUILD_DEPENDS= ${PYDISTUTILS} USE_PYTHON= yes -PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||g} +DOCSDIR= ${PREFIX}/share/doc/ja-pycodec +PLIST_SUB= PYTHON_SITELIBDIR="lib/${PYTHON_VERSION}/site-packages" SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py do-build: ${SETUP_CMD} build do-install: - ${SETUP_CMD} install + ${SETUP_CMD} install -c -O1 --prefix=${PREFIX} +.if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.en ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.ja ${DOCSDIR} +.endif .include <bsd.port.mk> |