Fix the Makefile, using sed.
This commit is contained in:
parent
e947e788c9
commit
6a50057689
@ -1,46 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2000/06/21 03:18:27 kevlo Exp $
|
||||
|
||||
DISTNAME= xcin-2.3.04-3
|
||||
PKGNAME= zh-xcin-2.3.04
|
||||
CATEGORIES= chinese
|
||||
NEED_VERSION= 1.307
|
||||
MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/xcin/old/ \
|
||||
ftp://ftp.ncu.edu.tw/OS/Linux/Chinese/xcin/xcin/ \
|
||||
ftp://linux.cis.nctu.edu.tw/packages/chinese/X/xcin/xcin/
|
||||
|
||||
MAINTAINER= kevlo@openbsd.org
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/chinese/taipei16.pcf.gz::chinese/taipeifonts
|
||||
|
||||
CONFIGURE_STYLE= gnu old
|
||||
CONFIGURE_ARGS= --os=OpenBSD --no-menu
|
||||
|
||||
CINS= cj.cin cj.tab cj.tab.rev phone.tab phone.cin phone.tab phone.tab.rev \
|
||||
pinyin.cin pinyin.tab pinyin.tab.rev array30.cin array30.tab \
|
||||
array30.tab.rev zmdbosh.cin zmdbosh.tab zmdbosh.tab.rev
|
||||
|
||||
BINS= cin2tab et.kbm et26.kbm hsu.kbm lphrase phs_out pho.sel1st \
|
||||
pho.tab pin2tsin sample.phs.out tsa2d tsa2rel tsd2a \
|
||||
tsin tsin.idx tsin.rel tsin_pin.map tsin.rel.src tsin.src \
|
||||
voca.box zo.kbm
|
||||
|
||||
post-configure:
|
||||
@cp ${FILESDIR}/config.status ${WRKSRC}
|
||||
|
||||
post-extract:
|
||||
@cp ${FILESDIR}/OpenBSD ${WRKSRC}/script/os_def
|
||||
|
||||
pre-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/xcin/docs
|
||||
|
||||
post-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/xcin ${PREFIX}/bin
|
||||
@for i in ${CINS} ; do cp $(WRKSRC)/input_tab/$$i ${PREFIX}/lib/xcin; done
|
||||
@for i in ${BINS} ; do cp $(WRKSRC)/src/$$i ${PREFIX}/lib/xcin; done
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
OS=OpenBSD
|
||||
CC=gcc
|
||||
CFLAGS=-O2
|
||||
XINC=/usr/X11R6/include
|
||||
XLIB=/usr/X11R6/lib
|
@ -1,31 +0,0 @@
|
||||
OS=OpenBSD
|
||||
CC=gcc
|
||||
CFLAGS=-O2
|
||||
XINC=/usr/X11R6/include
|
||||
XLIB=/usr/X11R6/lib
|
||||
|
||||
INSTALL_XCIN=yes
|
||||
INSTALL_INPTABS=yes
|
||||
INSTALL_DOCS=no
|
||||
INSTALL_UTILS=yes
|
||||
|
||||
PATH_XCIN_PREFIX=/usr/local
|
||||
PATH_XCIN_BIN=/usr/local/bin
|
||||
PATH_XCIN_DIR=/usr/local/lib/xcin
|
||||
PATH_XCIN_MAN=/usr/local/man
|
||||
|
||||
OPT_XCIN_CFONT=-taipei-ming16-medium-r-normal-*-16-160-*-*-*-*-big5-0
|
||||
OPT_XCIN_EFONT=8x16
|
||||
OPT_UTIL_CIN2TAB=yes
|
||||
OPT_UTIL_TSINTOOLS=yes
|
||||
OPT_INPTAB_SRC=yes
|
||||
OPT_INPTAB_PHONE=yes
|
||||
OPT_INPTAB_PINYIN=yes
|
||||
OPT_INPTAB_CJ=yes
|
||||
OPT_INPTAB_ZBOSH=yes
|
||||
OPT_INPTAB_CANTON=no
|
||||
OPT_INPTAB_AR30=yes
|
||||
INSTALL=/usr/bin/install -c
|
||||
INSTALL_PROGRAM=$(INSTALL)
|
||||
INSTALL_DATA=$(INSTALL) -m 644
|
||||
INSTALL_DIR=$(INSTALL) -d
|
Loading…
Reference in New Issue
Block a user