2001-05-27 16:34:55 +02:00
|
|
|
# New ports collection makefile for: xkbset
|
|
|
|
# Date created: 12 May 2001
|
|
|
|
# Whom: Stephen Montgomery-Smith <stephen@math.missouri.edu>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2006-03-24 01:45:09 +01:00
|
|
|
PORTNAME= xkbset
|
|
|
|
PORTVERSION= 0.5
|
2008-03-22 09:55:40 +01:00
|
|
|
PORTREVISION= 3
|
2006-03-24 01:45:09 +01:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= http://www.math.missouri.edu/~stephen/software/xkbset/
|
2001-05-27 16:34:55 +02:00
|
|
|
|
2009-04-05 22:50:49 +02:00
|
|
|
MAINTAINER= stephen@missouri.edu
|
2003-02-21 15:08:24 +01:00
|
|
|
COMMENT= Manage various XKB features of X Window
|
2001-05-27 16:34:55 +02:00
|
|
|
|
2006-03-24 01:45:09 +01:00
|
|
|
MAN1= xkbset.1
|
2008-03-22 09:55:40 +01:00
|
|
|
USE_XORG= x11
|
2002-11-25 02:07:17 +01:00
|
|
|
USE_PERL5_BUILD= yes
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MAKE_ARGS= X11BASE="${LOCALBASE}" X11PREFIX="${PREFIX}" \
|
2006-03-24 01:45:09 +01:00
|
|
|
INSTALL_DATA="${INSTALL_DATA}" \
|
|
|
|
INSTALL_PROGRAM="${INSTALL_PROGRAM}"
|
|
|
|
|
|
|
|
OPTIONS= GUI "Install Tk GUI" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2003-01-01 23:18:08 +01:00
|
|
|
|
|
|
|
.if defined(WITH_GUI)
|
2006-03-24 01:45:09 +01:00
|
|
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
|
|
|
|
PLIST_SUB= GUI=""
|
|
|
|
MAKE_ARGS+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
|
2003-01-01 23:18:08 +01:00
|
|
|
.else
|
2006-03-24 01:45:09 +01:00
|
|
|
PLIST_SUB= GUI="@comment "
|
|
|
|
MAKE_ARGS+= INSTALL_SCRIPT=:
|
2003-01-01 23:18:08 +01:00
|
|
|
.endif
|
2002-11-25 02:07:17 +01:00
|
|
|
|
|
|
|
post-build:
|
2006-03-24 01:45:09 +01:00
|
|
|
@${REINPLACE_CMD} "s%#!/usr/bin/perl%#!${PERL}%" ${WRKSRC}/xkbset-gui
|
2001-05-27 16:34:55 +02:00
|
|
|
|
2006-03-24 01:45:09 +01:00
|
|
|
.include <bsd.port.post.mk>
|