blob: 4246b9baca016f281afb37c543c545fb05d14a61 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# 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= ports@FreeBSD.org
COMMENT= GUI app launcher with completion and history
LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
USE_TK_WRAPPER= yes
PORTEXAMPLES= ${PORTNAME:L}
PLIST_FILES= bin/${PORTNAME}
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
's|/usr/local/bin|${PREFIX}/bin|' ${WRKSRC}/runit.tcl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/runit.tcl ${PREFIX}/bin/${PORTNAME}
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/runitrc.sample ${EXAMPLESDIR}/${PORTNAME:L}
@${ECHO_MSG} " "
@${ECHO_MSG} "-------------------------------------------------------------------"
@${ECHO_MSG} "===> Installing runitrc.sample in ${EXAMPLESDIR}/${PORTNAME:L}"
@${ECHO_MSG} "===> Copy runitrc.sample to ~/.runitrc and modify if you wish"
@${ECHO_MSG} "-------------------------------------------------------------------"
@${ECHO_MSG} " "
.endif
.include <bsd.port.mk>
|