2009-10-06 11:52:41 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2009/10/06 15:52:41 sturm Exp $
|
2003-07-23 23:18:45 -04:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
2007-09-15 17:36:57 -04:00
|
|
|
COMMENT= Chinese input method Linux binary
|
2003-07-23 23:18:45 -04:00
|
|
|
|
2006-10-18 20:14:00 -04:00
|
|
|
PKGNAME= zh-xcin25-2.5.3p1
|
2003-07-23 23:18:45 -04:00
|
|
|
CATEGORIES= chinese
|
|
|
|
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2006-07-14 15:06:46 -04:00
|
|
|
MASTER_SITES= http://download.fedoralegacy.org/redhat/8.0/os/i386/
|
2003-07-23 23:18:45 -04:00
|
|
|
DISTFILES= ${RPMS}
|
|
|
|
EXTRACT_ONLY=
|
|
|
|
|
|
|
|
DIST_SUBDIR= rpm
|
|
|
|
|
2009-10-06 11:52:41 -04:00
|
|
|
BUILD_DEPENDS= ::converters/rpm2cpio
|
2003-07-23 23:18:45 -04:00
|
|
|
RUN_DEPENDS= ::chinese/rxvt-big5
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2006-10-18 20:14:00 -04:00
|
|
|
PREFIX= ${LOCALBASE}/emul/fedora
|
2003-07-23 23:18:45 -04:00
|
|
|
|
|
|
|
RPMDIR= ${FULLDISTDIR}
|
|
|
|
|
|
|
|
RPMS= db4-4.0.14-14.i386.rpm \
|
|
|
|
libtabe-0.2.6-1.i386.rpm \
|
|
|
|
xcin-2.5.3.pre3-6.i386.rpm
|
|
|
|
|
|
|
|
REMOVE_DIRS= /usr/doc /usr/man /usr/share/doc
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}
|
|
|
|
.for rpm in ${RPMS}
|
|
|
|
@cd ${PREFIX}; ${LOCALBASE}/bin/rpm2cpio ${RPMDIR}/${rpm} | cpio -id
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
# Get rid of some unnecessary files and directories.
|
|
|
|
.for D in ${REMOVE_DIRS}
|
|
|
|
@rm -rf ${PREFIX}/${D}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|