2013-09-21 00:57:23 +02:00
|
|
|
# Created by: Will Andrews <andrews@technologist.com>
|
2000-01-08 19:23:34 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-04-09 20:34:06 +02:00
|
|
|
PORTNAME= flash
|
2004-07-16 19:08:25 +02:00
|
|
|
PORTVERSION= 0.9.5
|
2000-01-08 19:23:34 +01:00
|
|
|
CATEGORIES= shells
|
2009-01-06 13:35:55 +01:00
|
|
|
MASTER_SITES= http://www.sourcefiles.org/Shells/
|
2000-01-08 19:23:34 +01:00
|
|
|
|
2000-06-22 07:52:15 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-01-04 12:39:08 +01:00
|
|
|
COMMENT= Ncurses-based restriction shell
|
2000-01-08 19:23:34 +01:00
|
|
|
|
2016-02-03 22:50:29 +01:00
|
|
|
USES= gmake ncurses
|
2001-01-06 17:40:16 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= -rdynamic
|
|
|
|
CFLAGS+= -rdynamic
|
2006-04-01 15:13:03 +02:00
|
|
|
SUB_FILES= pkg-message
|
2001-01-06 17:40:16 +01:00
|
|
|
|
2001-01-28 09:07:45 +01:00
|
|
|
PROGRAM= alarms background countdown
|
2001-01-06 17:40:16 +01:00
|
|
|
SCRIPT= mailshell system.menu system.menu.9798 system.menu.oldlast \
|
|
|
|
system.menu.old
|
2001-01-28 09:07:45 +01:00
|
|
|
DATA= system.bg.Netsoc.3 system.bg.Netsoc.4 system.flashlogin \
|
|
|
|
system.maillogin system.module system.module.9798 system.rc \
|
|
|
|
system.rc.mailshell
|
2001-01-06 17:40:16 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.for file in ${SCRIPT}
|
2002-06-23 22:29:01 +02:00
|
|
|
@${REINPLACE_CMD} -e "s:/usr/slocal:${PREFIX}:g" ${WRKSRC}/orcasetup/${file}
|
2001-01-06 17:40:16 +01:00
|
|
|
.endfor
|
2000-01-08 19:23:34 +01:00
|
|
|
|
|
|
|
do-install:
|
2013-12-27 09:21:09 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/flash ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/flash.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/flash
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Manual ${STAGEDIR}${PREFIX}/lib/flash
|
2001-01-06 17:40:16 +01:00
|
|
|
.for file in ${PROGRAM}
|
2013-12-27 09:21:09 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/modules/${file} ${STAGEDIR}${PREFIX}/lib/flash
|
2000-01-08 19:23:34 +01:00
|
|
|
.endfor
|
2001-01-06 17:40:16 +01:00
|
|
|
.for file in ${SCRIPT}
|
2013-12-27 09:21:09 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/orcasetup/${file} ${STAGEDIR}${PREFIX}/lib/flash
|
2000-01-08 19:23:34 +01:00
|
|
|
.endfor
|
2001-01-06 17:40:16 +01:00
|
|
|
.for file in ${DATA}
|
2013-12-27 09:21:09 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/orcasetup/${file} ${STAGEDIR}${PREFIX}/lib/flash
|
2000-01-08 19:23:34 +01:00
|
|
|
.endfor
|
2013-12-27 09:21:09 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/flash/flashdocs
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/orcasetup/flashdocs/* ${STAGEDIR}${PREFIX}/lib/flash/flashdocs
|
2000-01-08 19:23:34 +01:00
|
|
|
|
2007-04-20 17:12:29 +02:00
|
|
|
.include <bsd.port.mk>
|