aboutsummaryrefslogblamecommitdiff
path: root/x11/keylaunch/Makefile
blob: 4eac39aa4db16669081bb6998bcd8aa652009b8a (plain) (tree)

































                                                                              
# 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
CATEGORIES=	x11
MASTER_SITES=	http://www.kensden.pwp.blueyonder.co.uk/Oroborus/files/

MAINTAINER=	mwm@mired.org

WRKSRC=		${WRKDIR}/keylaunch
USE_GMAKE=	yes
USE_X_PREFIX=	yes

PKGMESSAGE=	${WRKSRC}/pkg-message

post-patch:
	@${PERL} -pi -e 's,%%X11BASE%%,${X11BASE},g' ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/keylaunch ${PREFIX}/bin
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/example_rc ${EXAMPLESDIR}/keylaunch.rc

post-install:
	@${SED} -e 's;/usr/X11R6;${PREFIX};g' < ${FILESDIR}/pkg-message.in > \
		${PKGMESSAGE}
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>