1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/emulators/mtools/Makefile

45 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: mtools
1999-07-21 23:43:56 +00:00
# Version required: 3.9.6
# Date created: 5 October 1994
# Whom: jmz
#
1999-08-25 05:57:29 +00:00
# $FreeBSD$
#
1999-07-21 23:43:56 +00:00
DISTNAME= mtools-3.9.6
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.tux.org/pub/knaff/mtools/ \
http://mtools.linux.lu/
1995-04-11 02:02:17 +00:00
MAINTAINER= jmz@FreeBSD.org
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-xdf
1997-04-03 02:39:05 +00:00
USE_GMAKE= yes
MAN1= mattrib.1 mbadblocks.1 mcat.1 mcd.1 mcopy.1 mdel.1 mdeltree.1 \
mdir.1 mdu.1 mformat.1 mkmanifest.1 mlabel.1 mmd.1 mmount.1 \
mmove.1 mpartition.1 mrd.1 mread.1 mren.1 mshowfat.1 \
mtoolstest.1 mtools.1 mtype.1 mzip.1
1996-11-17 05:48:49 +00:00
MAN5= mtools.5
1996-05-27 14:10:29 +00:00
post-patch:
@cd ${WRKSRC}; for f in config.c mtools.5 mtools.texi; do \
1998-05-07 01:59:27 +00:00
${MV} $$f $$f.orig; \
${SED} -e s:/etc/mtools.conf:${PREFIX}/etc/mtools.conf: \
1996-05-27 14:10:29 +00:00
< $$f.orig > $$f; done
@cd ${WRKSRC}/scripts; for f in ocopy xcopy; do \
1998-05-07 01:59:27 +00:00
if [ ! -f $$f -a -f $$f.orig ]; then ${CP} -p $$f.orig $$f ; fi \
done
1996-05-27 14:10:29 +00:00
post-install:
@# mwrite has been removed by author, but we'll keep it just a bit longer
1999-08-28 01:58:05 +00:00
@${LN} -sf ${PREFIX}/bin/mtools ${PREFIX}/bin/mwrite
@${LN} -sf ${PREFIX}/man/man1/mcopy.1.gz ${PREFIX}/man/man1/mwrite.1.gz
@${INSTALL_DATA} ${WRKSRC}/mtools.conf ${PREFIX}/etc
@${ECHO} "Please verify ${PREFIX}/etc/mtools.conf for your machine."
1997-04-20 01:28:48 +00:00
@install-info ${PREFIX}/info/mtools.info ${PREFIX}/info/dir
.include <bsd.port.mk>