2001-11-25 09:51:49 +01:00
|
|
|
# New ports collection makefile for: keylaunch
|
|
|
|
# Date created: Sat Nov 17 10:10:07 CDT 2001
|
|
|
|
# Whom: mwm@mired.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= keylaunch
|
|
|
|
PORTVERSION= 1.3.0
|
2008-03-25 00:21:25 +01:00
|
|
|
PORTREVISION= 3
|
2001-11-25 09:51:49 +01:00
|
|
|
CATEGORIES= x11
|
2002-09-22 17:56:55 +02:00
|
|
|
MASTER_SITES= http://www.mired.org/downloads/
|
2001-11-25 09:51:49 +01:00
|
|
|
|
|
|
|
MAINTAINER= mwm@mired.org
|
2003-02-21 15:08:24 +01:00
|
|
|
COMMENT= An X utility for binding commands to a hot key
|
2001-11-25 09:51:49 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/keylaunch
|
|
|
|
USE_GMAKE= yes
|
2003-11-20 16:06:14 +01:00
|
|
|
USE_PERL5_BUILD=yes
|
2008-03-25 00:21:25 +01:00
|
|
|
USE_XORG= x11
|
2001-11-25 09:51:49 +01:00
|
|
|
|
|
|
|
PKGMESSAGE= ${WRKSRC}/pkg-message
|
|
|
|
|
|
|
|
post-patch:
|
- 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
|
|
|
@${PERL} -pi -e 's,%%LOCALBASE%%,${LOCALBASE},g' ${WRKSRC}/Makefile
|
2001-11-25 09:51:49 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/keylaunch ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/example_rc ${EXAMPLESDIR}/keylaunch.rc
|
|
|
|
|
|
|
|
post-install:
|
- 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
|
|
|
@${SED} -e 's;/usr/X11R6;${LOCALBASE};g' < ${FILESDIR}/pkg-message.in > \
|
2001-11-25 09:51:49 +01:00
|
|
|
${PKGMESSAGE}
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|