diff --git a/chinese/CNS11643-font/Makefile b/chinese/CNS11643-font/Makefile index b788202a4f5f..56f8b4c291e6 100644 --- a/chinese/CNS11643-font/Makefile +++ b/chinese/CNS11643-font/Makefile @@ -1,31 +1,31 @@ PORTNAME= CNS11643-font PORTVERSION= 98.1 PORTREVISION= 6 CATEGORIES= chinese x11-fonts -MASTER_SITES= https://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/CNS11643-font/ +MASTER_SITES= https://people.cs.nycu.edu.tw/~lwhsu/ports/distfiles/CNS11643-font/ DISTFILES= TW-Kai-98_1.ttf TW-Sung-98_1.ttf EXTRACT_ONLY= MAINTAINER= lhd@cs.nctu.edu.tw COMMENT= Combine of Kai and Sung with CNS11643 TrueType Fonts WWW= https://www.cns11643.gov.tw/ LICENSE= CC_BY-ND_3.0_TW LICENSE_NAME= Creative Commons Attribution-NoDerivs 3.0 Taiwan License LICENSE_TEXT= Description of the license can be obtained from the following URL: http://creativecommons.org/licenses/by-nd/3.0/tw/ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} NO_WRKSUBDIR= yes NO_BUILD= yes TTF= TW-Kai-98_1.ttf TW-Sung-98_1.ttf do-install: @${MKDIR} ${STAGEDIR}${FONTSDIR} .for f in ${TTF} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${f} ${STAGEDIR}${FONTSDIR} .endfor .include "${.CURDIR}/../ttfm/Makefile.ttf" .include diff --git a/chinese/cnprint/Makefile b/chinese/cnprint/Makefile index e355d591ad7b..d93ee02fd87f 100644 --- a/chinese/cnprint/Makefile +++ b/chinese/cnprint/Makefile @@ -1,54 +1,54 @@ PORTNAME= cnprint PORTVERSION= 3.30b PORTREVISION= 1 CATEGORIES= chinese print -MASTER_SITES= https://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/${PORTNAME}-${PORTVERSION}/ +MASTER_SITES= https://people.cs.nycu.edu.tw/~lwhsu/ports/distfiles/${PORTNAME}-${PORTVERSION}/ DISTFILES= cnprint330b.c cnprint330b.readme ttfb330b.c cnprint330b.hlp \ cnprint33.cmd helvet.dat mssong.ttf.gz mssong.htf \ mshei.ttf.gz mshei.htf cc48s.hbf cc48.sym.gz cc48s.1.gz \ cc48s.2.gz hbf.tar.gz ntu_kai48.hbf ntu_kai48.bin.gz MAINTAINER= lwhsu@FreeBSD.org COMMENT= Print CJK text (or convert to PostScript) WWW= https://www.ywpw.com/cai/software/ DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} FILES= ${WRKSRC}/*.sym ${WRKSRC}/*.htf ${WRKSRC}/*.hbf \ ${WRKSRC}/*.bin ${WRKSRC}/*.ttf OPTIONS_DEFINE= A4SIZE OPTIONS_DEFAULT= A4SIZE A4SIZE_DESC= Set A4 (not Letter) as a default paper size do-extract: ${MKDIR} ${WRKSRC} .for i in ${DISTFILES} ${CP} ${DISTDIR}/${DIST_SUBDIR}/${i} ${WRKSRC} .endfor cd ${WRKSRC} ; \ ${TAR} pzvxf hbf.tar.gz ; ${MV} hbf/* . ; \ ${RM} -r hbf ; \ ${GUNZIP_CMD} *.gz || ${TRUE} post-patch: @${REINPLACE_CMD} -e 's,/usr/local/src,${PREFIX}/share,' \ ${WRKSRC}/cnprint330b.c @${REINPLACE_CMD} -e 's/\(DEFAULT_JIS_FONT\):.*$$/\1: kanji48.hbf/; \ s/\(DEFAULT_BIG5FONT\):.*$$/\1: ntu_kai48.hbf/; \ s/\(DEFAULT_ENCODING\):.*$$/\1: BIG5/' ${WRKSRC}/cnprint33.cmd post-patch-A4SIZE-on: @${REINPLACE_CMD} -e 's/\(DEFAULT_PAPERSIZE\):.*$$/\1: 8.27 11.69/' \ ${WRKSRC}/cnprint33.cmd do-build: cd ${WRKSRC} ; \ ${CC} cnprint330b.c ttfb330b.c -o cnprint -DPREFIX=\"${PREFIX}\" do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/cnprint ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}33.cmd ${STAGEDIR}${DATADIR}/${PORTNAME}.cmd ${INSTALL_DATA} ${FILES} ${STAGEDIR}${DATADIR} .include diff --git a/chinese/taipeisanstc/Makefile b/chinese/taipeisanstc/Makefile index c5334ec6397f..c4cf1f2c854c 100644 --- a/chinese/taipeisanstc/Makefile +++ b/chinese/taipeisanstc/Makefile @@ -1,34 +1,34 @@ PORTNAME= taipeisanstc DISTVERSION= Beta CATEGORIES= chinese x11-fonts -MASTER_SITES= https://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/taipeisanstc/ +MASTER_SITES= https://people.cs.nycu.edu.tw/~lwhsu/ports/distfiles/taipeisanstc/ MAINTAINER= lwhsu@FreeBSD.org COMMENT= Taipei Sans TC WWW= https://sites.google.com/view/jtfoundry/ LICENSE= OFL11 USES= fonts TYPES= Bold Light Regular .for type in ${TYPES} DISTFILES+= TaipeiSansTC${DISTVERSION}-${type}.ttf PLIST_FILES+= ${FONTSDIR}/TaipeiSansTC${DISTVERSION}-${type}.ttf .endfor EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= -a EXTRACT_AFTER_ARGS= . NO_ARCH= yes NO_BUILD= yes NO_WRKSUBDIR= yes do-install: @${MKDIR} ${STAGEDIR}${FONTSDIR} .for type in ${TYPES} ${INSTALL_DATA} ${WRKSRC}/TaipeiSansTC${DISTVERSION}-${type}.ttf ${STAGEDIR}${FONTSDIR} .endfor .include diff --git a/devel/py-urlimport/Makefile b/devel/py-urlimport/Makefile index 1ee5a6ee575a..d2fdd2e20cba 100644 --- a/devel/py-urlimport/Makefile +++ b/devel/py-urlimport/Makefile @@ -1,24 +1,24 @@ PORTNAME= urlimport PORTVERSION= 0.42b PORTREVISION= 1 CATEGORIES= devel python -MASTER_SITES= http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/ +MASTER_SITES= http://people.cs.nycu.edu.tw/~lwhsu/ports/distfiles/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} EXTRACT_SUFX= .py MAINTAINER= lwhsu@FreeBSD.org COMMENT= Python script for importing modules/packages over the net WWW= https://urlimport.codeshift.net/ NO_WRKSUBDIR= yes USES= python USE_PYTHON= distutils autoplist do-extract: ${MKDIR} ${WRKSRC} ${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}/${PORTNAME}.py ${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${FILESDIR}/setup.py \ > ${WRKSRC}/setup.py .include diff --git a/devel/pycount/Makefile b/devel/pycount/Makefile index 10f48b805fe0..5fc4163e20c3 100644 --- a/devel/pycount/Makefile +++ b/devel/pycount/Makefile @@ -1,34 +1,34 @@ PORTNAME= pycount PORTVERSION= 0.0.6 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= http://python.net/crew/gherman/playground/pycount/ \ - http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/ + http://people.cs.nycu.edu.tw/~lwhsu/ports/distfiles/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME}.py EXTRACT_SUFX= # DIST_SUBDIR= python MAINTAINER= lwhsu@FreeBSD.org COMMENT= Initial effort to Python code metrics WWW= http://python.net/~gherman/pycount.html USES= dos2unix python NO_BUILD= yes PLIST_FILES= bin/${PORTNAME} do-extract: @${MKDIR} ${WRKDIR} @${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${WRKDIR} post-patch: ${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ ${WRKDIR}/${DISTNAME} @${FIND} ${WRKSRC} -name \*.bak -delete do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${DISTFILES} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include