openbsd-ports/chinese/crxvt/Makefile
phessler 17ced37539 update MASTER_SITES
inspired while checking the others from kevlo
2008-06-08 14:27:03 +00:00

41 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.19 2008/06/08 14:27:03 phessler Exp $
COMMENT= Chinese(Big5) VT100 terminal emulator for X
DISTNAME= crxvt-2.10-2
PKGNAME= zh-crxvt-2.10.2
CATEGORIES= chinese
MASTER_SITES= ${MASTER_SITES_BACKUP}
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
PERMIT_PACKAGE_CDROM= no license
PERMIT_PACKAGE_FTP= no license
PERMIT_DISTFILES_CDROM= no license
PERMIT_DISTFILES_FTP= no license
WANTLIB= c X11
RUN_DEPENDS= ::chinese/taipeifonts
USE_X11= Yes
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
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/crxvt ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/man/crxvt.1 ${PREFIX}/man/man1
.include <bsd.port.mk>