openbsd-ports/russian/xruskb/Makefile

45 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.38 2007/09/15 21:23:42 merdely Exp $
2001-03-29 04:46:17 -05:00
COMMENT= english-russian keyboard switcher for X11
1998-07-21 04:28:24 -04:00
DISTNAME= xruskb-1.15.3
PKGNAME= ${DISTNAME}p0
1998-07-21 04:28:24 -04:00
CATEGORIES= russian x11
MASTER_SITES= ftp://ftp.yars.free.net/unix/X11/
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
2004-12-02 16:13:43 -05:00
WANTLIB= ICE SM X11 Xext Xmu Xt c
2000-02-12 03:02:07 -05:00
2000-03-05 13:30:21 -05:00
USE_X11= Yes
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
.if ${FLAVOR:L:Mmotif} || ${FLAVOR:L:Mlesstif}
USE_MOTIF= any
CONFIGURE_ARGS= --with-motif --without-Xaw
1998-07-21 04:28:24 -04:00
.else
CONFIGURE_ARGS= --without-motif --with-Xaw
2004-12-02 16:13:43 -05:00
WANTLIB+= Xaw
1998-07-21 04:28:24 -04:00
.endif
pre-configure:
2003-08-15 04:25:24 -04:00
@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>