mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
53ed395260
PR: 241321 Submitted by: Chris Hutchinson <portmaster@bsdforge.com>
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# Created by: Stephen Farrell <steve@farrell.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tkRunIt
|
|
PORTVERSION= 0.94.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://thaumaturgy.net/~etgold/software/tkRunIt/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
|
|
|
|
MAINTAINER= portmaster@BSDforge.com
|
|
COMMENT= GUI app launcher with completion and history
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
LICENSE= GPLv2
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
USES+= tk
|
|
NO_BUILD= yes
|
|
|
|
PORTEXAMPLES= ${PORTNAME:tl}
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|wish|${WISH}|g' ${WRKSRC}/runit.tcl
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/runit.tcl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/runitrc.sample ${STAGEDIR}${EXAMPLESDIR}/${PORTNAME:tl}
|
|
@${ECHO_MSG} " "
|
|
@${ECHO_MSG} "-------------------------------------------------------------------"
|
|
@${ECHO_MSG} "===> Installing runitrc.sample in ${EXAMPLESDIR}/${PORTNAME:tl}"
|
|
@${ECHO_MSG} "===> Copy runitrc.sample to ~/.runitrc and modify if you wish"
|
|
@${ECHO_MSG} "-------------------------------------------------------------------"
|
|
@${ECHO_MSG} " "
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|