openbsd-ports/russian/xruskb/Makefile

48 lines
1.1 KiB
Makefile
Raw Normal View History

2011-09-16 07:13:37 -04:00
# $OpenBSD: Makefile,v 1.47 2011/09/16 11:13:43 espie 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.4
2011-09-16 07:13:37 -04:00
REVISION= 1
1998-07-21 04:28:24 -04:00
CATEGORIES= russian x11
MASTER_SITES= ftp://ftp.yars.free.net/pub/source/xruskb/
# GPLv2
2000-03-05 13:30:21 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE SM X11 Xext Xmu Xt c
2000-02-12 03:02:07 -05:00
2010-10-18 17:25:07 -04:00
USE_GROFF = 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}
LIB_DEPENDS+= x11/openmotif
WANTLIB+= Xm
CONFIGURE_ARGS= --with-toolkit=motif
MAKE_ENV+=MOTIFLIB='-L${LOCALBASE}/lib -lXm'
1998-07-21 04:28:24 -04:00
.else
CONFIGURE_ARGS= --with-toolkit=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>