1998-08-10 00:48:55 +00:00
|
|
|
# New ports collection makefile for: xenmenu
|
|
|
|
# Date created: 19 May 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 07:23:21 +00:00
|
|
|
# $FreeBSD$
|
1998-08-10 00:48:55 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 08:49:30 +00:00
|
|
|
PORTNAME= xenmenu
|
|
|
|
PORTVERSION= 0.8b
|
1998-08-10 00:48:55 +00:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
2000-03-31 23:56:55 +00:00
|
|
|
http://freeport.xenos.net/~xenon/software/xenmenu/
|
1998-08-10 00:48:55 +00:00
|
|
|
MASTER_SITE_SUBDIR= apps/misc
|
|
|
|
|
2000-03-29 07:19:16 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1998-08-10 00:48:55 +00:00
|
|
|
|
2000-03-31 23:56:55 +00:00
|
|
|
ALL_TARGET= # empty
|
1998-08-10 00:48:55 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2000-03-31 23:56:55 +00:00
|
|
|
CONFIGURE_ARGS= --with-sys-config=${PREFIX}/etc/xenmenurc \
|
|
|
|
--with-secure-config=${PREFIX}/etc/xenmenurc.secure \
|
|
|
|
--with-support-dir=${PREFIX}/share/xenmenu/bin \
|
|
|
|
--with-menu-dir=${PREFIX}/share/xenmenu/menus \
|
|
|
|
--with-view-dir=${PREFIX}/share/xenmenu/text \
|
|
|
|
--with-path=${PREFIX}/bin:/usr/bin:/bin
|
1998-08-10 00:48:55 +00:00
|
|
|
|
|
|
|
do-install:
|
2000-03-31 23:56:55 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xenmenu ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${PREFIX}/share/xenmenu
|
|
|
|
@${MKDIR} ${PREFIX}/share/xenmenu/bin
|
|
|
|
@${MKDIR} ${PREFIX}/share/xenmenu/menus
|
|
|
|
@${MKDIR} ${PREFIX}/share/xenmenu/text
|
|
|
|
@${MKDIR} ${PREFIX}/share/examples/xenmenu/bin
|
1998-08-10 00:48:55 +00:00
|
|
|
.for file in Makefile README get_backspace.c set_cols.c set_rows.c show_backspace.c show_cols.c show_rows.c
|
2000-03-31 23:56:55 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/${file} ${PREFIX}/share/examples/xenmenu/bin
|
1998-08-10 00:48:55 +00:00
|
|
|
.endfor
|
|
|
|
.for file in bbs finger ftp party ssh talk telegram telnet
|
2000-03-31 23:56:55 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/contrib/${file} ${PREFIX}/share/examples/xenmenu/bin
|
1998-08-10 00:48:55 +00:00
|
|
|
.endfor
|
2000-03-31 23:56:55 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/examples/xenmenu/menus
|
|
|
|
@${MKDIR} ${PREFIX}/share/examples/xenmenu/menus/games_menus
|
|
|
|
@${MKDIR} ${PREFIX}/share/examples/xenmenu/menus/help_menus
|
1998-08-10 00:48:55 +00:00
|
|
|
.for file in bbs config freeport freeportb freeportc games help helpb internet mail mainmenu other party telmenu telmenu_changecurrent telmenu_changedefault
|
2000-03-31 23:56:55 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample_menus/${file} ${PREFIX}/share/examples/xenmenu/menus
|
1998-08-10 00:48:55 +00:00
|
|
|
.endfor
|
2000-03-31 23:56:55 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/examples/xenmenu/menus/bbs_menus
|
1998-08-10 00:48:55 +00:00
|
|
|
.for file in bbs_menus/technical bbs_menus/general_interest bbs_menus/sig bbs_menus/literary bbs_menus/misc
|
2000-03-31 23:56:55 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample_menus/${file} ${PREFIX}/share/examples/xenmenu/menus/bbs_menus
|
1998-08-10 00:48:55 +00:00
|
|
|
.endfor
|
2000-03-31 23:56:55 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/examples/xenmenu/menus/games_menus
|
1998-08-10 00:48:55 +00:00
|
|
|
.for file in games_menus/multiplayer games_menus/amusements games_menus/singleplayer games_menus/singleplayer2 games_menus/amusements2
|
2000-03-31 23:56:55 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample_menus/${file} ${PREFIX}/share/examples/xenmenu/menus/games_menus
|
1998-08-10 00:48:55 +00:00
|
|
|
.endfor
|
2000-03-31 23:56:55 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/examples/xenmenu/menus/help_menus
|
1998-08-10 00:48:55 +00:00
|
|
|
.for file in help_menus/partyb help_menus/party help_menus/bbs help_menus/bbsb help_menus/mail help_menus/mailb help_menus/abuse help_menus/games help_menus/abuseb help_menus/bbsc help_menus/partyc help_menus/mailc
|
2000-03-31 23:56:55 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample_menus/${file} ${PREFIX}/share/examples/xenmenu/menus/help_menus
|
1998-08-10 00:48:55 +00:00
|
|
|
.endfor
|
2000-03-31 23:56:55 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/examples/xenmenu/text
|
1998-08-10 00:48:55 +00:00
|
|
|
.for file in backspace_help.txt col_help.txt shell_help.txt
|
2000-03-31 23:56:55 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample_text/${file} ${PREFIX}/share/examples/xenmenu/text
|
1998-08-10 00:48:55 +00:00
|
|
|
.endfor
|
|
|
|
.if !defined(NOPORTDOCS)
|
2000-03-31 23:56:55 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/xenmenu
|
|
|
|
.for file in BUGS COPYRIGHT CHANGELOG README README.html TODO
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xenmenu
|
1998-08-10 00:48:55 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|