- Fix Makefile and PLIST

This commit is contained in:
kevlo 2000-08-22 04:13:58 +00:00
parent 31b27c7874
commit 468ccbd1df
3 changed files with 12 additions and 13 deletions

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.4 2000/06/09 06:57:59 kevlo Exp $
# $OpenBSD: Makefile,v 1.5 2000/08/22 04:13:58 kevlo Exp $
DISTNAME= chinese-fonts-taipei
CATEGORIES= chinese x11
NEED_VERSION= 1.319
DIST_SUBDIR= chinese-fonts
MASTER_SITES= ftp://linux.cis.nctu.edu.tw/packages/chinese/fonts/taipeifont/
@ -20,17 +21,16 @@ DISTFILES= ${FONTS}
NO_BUILD= Yes
EXTRACT_ONLY=
USE_IMAKE= Yes
FAKE= Yes
CONFIGURE_STYLE= imake
FONTDIR=${PREFIX}/lib/X11/fonts/chinese
FONTDIR= ${PREFIX}/lib/X11/fonts/chinese
post-extract:
@mkdir -p ${WRKDIST}
@cp ${FILESDIR}/Imakefile ${FILESDIR}/taipei.alias ${FILESDIR}/fonts.dir ${WRKDIST}
@cp ${FILESDIR}/Imakefile ${FILESDIR}/taipei.alias ${WRKDIST}
@for i in ${FONTS} ; do cp $(FULLDISTDIR)/$$i ${WRKDIST}; done
post-install:
@cp ${WRKDIST}/fonts.dir ${FONTDIR}
@cd ${FONTDIR} && mv fonts.alias fonts.alias-taipei
.include <bsd.port.mk>

View File

@ -1,5 +0,0 @@
4
taipei16.pcf.gz taipei16
taipei15.pcf.gz taipei15
taipei24.pcf.gz taipei24
taipeik24.pcf.gz taipeik24

View File

@ -1,8 +1,12 @@
lib/X11/fonts/chinese/fonts.alias
lib/X11/fonts/chinese/fonts.dir
@comment $OpenBSD: PLIST,v 1.4 2000/08/22 04:14:13 kevlo Exp $
lib/X11/fonts/chinese/fonts.alias-taipei
lib/X11/fonts/chinese/taipei15.pcf.gz
lib/X11/fonts/chinese/taipei16.pcf.gz
lib/X11/fonts/chinese/taipei24.pcf.gz
lib/X11/fonts/chinese/taipeik24.pcf.gz
@exec cat %B/fonts.alias-* >%B/fonts.alias
@exec echo "Remember to add %B to your font path."
@exec /usr/X11R6/bin/mkfontdir %B || true
@unexec cat %B/fonts.alias-* >%B/fonts.alias
@unexec /usr/X11R6/bin/mkfontdir %B || true
@unexec echo "Remove %B manually if it's now empty"