2003-08-15 05:56:59 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.33 2003/08/15 09:56:59 grange Exp $
|
2001-03-29 04:46:17 -05:00
|
|
|
|
|
|
|
COMMENT= "english-russian keyboard switcher for X11"
|
1998-07-21 04:28:24 -04:00
|
|
|
|
2003-08-14 14:40:11 -04:00
|
|
|
DISTNAME= xruskb-1.15.3
|
1998-07-21 04:28:24 -04:00
|
|
|
CATEGORIES= russian x11
|
2003-08-14 14:40:11 -04:00
|
|
|
MASTER_SITES= ftp://ftp.yars.free.net/unix/X11/
|
|
|
|
|
|
|
|
MAINTAINER= Alexander Yurchenko <grange@openbsd.org>
|
1998-07-21 04:28:24 -04:00
|
|
|
|
2003-08-15 05:56:59 -04:00
|
|
|
# GPL
|
2000-03-05 13:30:21 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2000-03-05 13:30:21 -05:00
|
|
|
USE_X11= Yes
|
2000-06-15 01:31:52 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
1998-07-21 04:28:24 -04:00
|
|
|
|
2000-06-16 06:19:02 -04:00
|
|
|
FLAVORS= motif
|
|
|
|
FLAVOR?=
|
2000-06-15 01:47:11 -04:00
|
|
|
|
2001-04-18 11:01:02 -04:00
|
|
|
.if ${FLAVOR:L:Mmotif} || ${FLAVOR:L:Mlesstif}
|
|
|
|
USE_MOTIF= any
|
2001-03-13 10:42:44 -05:00
|
|
|
CONFIGURE_ARGS= --with-motif --without-Xaw
|
1998-07-21 04:28:24 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --without-motif --with-Xaw
|
|
|
|
.endif
|
|
|
|
|
2003-08-15 04:25:24 -04:00
|
|
|
post-patch:
|
|
|
|
@perl -i -pe 's!/usr/!${LOCALBASE}/!' \
|
|
|
|
${WRKSRC}/Xrus.{ad,wmaker}
|
|
|
|
|
1998-07-21 04:28:24 -04:00
|
|
|
post-install:
|
2001-08-13 00:10:02 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xruskb
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/xrus.doc-english \
|
|
|
|
${PREFIX}/share/doc/xruskb/xrus.doc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/xrus.doc-koi8 ${PREFIX}/share/doc/xruskb
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/xruskb
|
2000-03-12 08:20:41 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Xrus.ad ${PREFIX}/share/xruskb
|
2001-08-13 00:10:02 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Xrus.wmaker ${PREFIX}/share/xruskb
|
1998-07-21 04:28:24 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|