35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.7 2001/01/28 07:28:04 kevlo Exp $
|
|
|
|
DISTNAME= crxvt-2.10-2
|
|
PKGNAME= zh-${DISTNAME}
|
|
CATEGORIES= chinese
|
|
NEED_VERSION= 1.307
|
|
MASTER_SITES= ftp://ftp.linux.org.tw/pub/xcin/crxvt/old/ \
|
|
ftp://ftp.shellhung.org/pub/OpenBSD/packages/chinese/
|
|
|
|
MAINTAINER= Kevin Lo <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
|
|
|
|
post-configure:
|
|
mv ${WRKSRC}/config.status ${WRKSRC}/config.status.orig
|
|
sed -e '/OPT_CRXVT_CFONT/s/=.*/=-taipei-ming-medium-r-normal--16-160-75-75-c-160-big5-0/' ${WRKSRC}/config.status.orig > ${WRKSRC}/config.status
|
|
|
|
post-extract:
|
|
mv ${WRKSRC}/script/os_def/FreeBSD ${WRKSRC}/script/os_def/FreeBSD.orig
|
|
sed -e '/OS/s/=.*/=OpenBSD/' ${WRKSRC}/script/os_def/FreeBSD.orig > ${WRKSRC}/script/os_def/OpenBSD
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/crxvt ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/crxvt.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|