openbsd-ports/net/tinyfugue/Makefile
naddy 8c5af11c85 Add expected symlinks from full names to 8.3-compatible ones.
Submitted by Phil Pennock <Phil.Pennock@globnix.org>.
2002-01-25 13:43:24 +00:00

44 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.14 2002/01/25 13:43:24 naddy Exp $
# $FreeBSD: Makefile,v 1.16 1999/02/16 03:06:21 jseger Exp $
COMMENT= "programmable MUD client, with macro support and more"
PKGNAME= tinyfugue-4.0s1p1
DISTNAME= tf-40s1
CATEGORIES= net games
NEED_VERSION= 1.504
HOMEPAGE= http://tf.tcp.com/~hawkeye/tf/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://tf.tcp.com/pub/tinyfugue/ \
ftp://ftp.demon.co.uk/pub/games/mud/
MAKE_ENV= TFVER="${DISTNAME:S/^tf-//}" \
CC="${CC}" TFDEV_CCFLAGS="${CFLAGS}"
MAKE_FILE= ${WRKSRC}/unix/Makefile
SYMLINKS= kb-bash.tf,bind-bash.tf kb-emacs.tf,bind-emacs.tf \
complete.tf,completion.tf factoral.tf,factorial.tf \
filexfer.tf,file-xfer.tf local-eg.tf,local.tf.sample \
psh.tf,pref-shell.tf spc-page.tf,space_page.tf \
spedwalk.tf,speedwalk.tf stack-q.tf,stack_queue.tf \
world-q.tf,worldqueue.tf
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/tinyfugue
${INSTALL_PROGRAM} ${WRKBUILD}/src/tf ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/src/tf.1.nroffman ${PREFIX}/man/man1/tf.1
${INSTALL_DATA} ${WRKSRC}/tf-lib/* ${PREFIX}/share/tinyfugue
.for i in ${SYMLINKS}
ln -s ${i:C/,.*//} ${PREFIX}/share/tinyfugue/${i:C/.*,//}
.endfor
.include <bsd.port.mk>