openbsd-ports/russian/xruskb/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

2000-03-05 13:30:21 -05:00
# $OpenBSD: Makefile,v 1.14 2000/03/05 18:30:41 espie Exp $
1998-07-21 04:28:24 -04:00
2000-03-03 13:08:31 -05:00
DISTNAME= xruskb-1.13.0
1998-07-21 04:28:24 -04:00
CATEGORIES= russian x11
2000-03-05 13:30:21 -05:00
NEED_VERSION= 1.223
1999-07-09 13:35:58 -04:00
MASTER_SITES= ftp://ftp.yars.free.net/pub/software/unix/X11/
1998-07-21 04:28:24 -04:00
1999-06-23 04:26:24 -04:00
MAINTAINER= form@openbsd.org
1998-07-21 04:28:24 -04:00
2000-02-12 03:02:07 -05:00
LICENSE_TYPE= 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
GNU_CONFIGURE= Yes
1998-07-21 04:28:24 -04:00
.if defined(USE_MOTIF) && ${USE_MOTIF:U} == YES
1998-07-21 04:28:24 -04:00
CONFIGURE_ARGS= --with-motif --without-Xaw
2000-03-05 13:30:21 -05:00
LIB_DEPENDS= Xm:x11/lesstif
1998-07-21 04:28:24 -04:00
.else
CONFIGURE_ARGS= --without-motif --with-Xaw
.endif
pre-configure:
.if !defined(USE_MOTIF) || ${USE_MOTIF:U} != YES
2000-01-26 07:38:52 -05:00
@${ECHO_MSG} "***"
@${ECHO_MSG} "*** You are building Xaw version of xruskb."
@${ECHO_MSG} "*** Some features are not available in Xaw version."
@${ECHO_MSG} "*** If you wish to build full-featured Motif version,"
@${ECHO_MSG} "*** just type 'make USE_MOTIF=yes'."
@${ECHO_MSG} "***"
1998-07-21 04:28:24 -04:00
.endif
post-install:
2000-01-14 03:44:28 -05:00
${INSTALL_DATA} ${WRKSRC}/Xrus.ad ${X11BASE}/lib/X11/app-defaults/Xrus
${INSTALL_DATA} ${WRKSRC}/xrus.doc-english ${X11BASE}/share/xruskb/xrus.doc
${INSTALL_DATA} ${WRKSRC}/xrus.doc-koi8 ${X11BASE}/share/xruskb
1998-07-21 04:28:24 -04:00
.include <bsd.port.mk>