1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/emulators/mtools/Makefile
1997-12-24 01:21:47 +00:00

40 lines
1.1 KiB
Makefile

# New ports collection makefile for: mtools
# Version required: 3.8
# Date created: 5 October 1994
# Whom: jmz
#
# $Id: Makefile,v 1.17 1997/10/08 21:12:22 jmz Exp $
#
DISTNAME= mtools-3.8
CATEGORIES= emulators
MASTER_SITES= ftp://linux.wauug.org/pub/knaff/mtools/ \
ftp://sunsite.unc.edu/pub/Linux/utils/disk-management/
MAINTAINER= jmz@FreeBSD.org
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --enable-xdf --prefix=${PREFIX}
USE_GMAKE= yes
MAN1= mattrib.1 mbadblocks.1 mcd.1 mcopy.1 mdel.1 mdeltree.1 \
mdir.1 mformat.1 mkmanifest.1 mlabel.1 mmd.1 mmount.1 mmove.1 \
mrd.1 mread.1 mren.1 mtoolstest.1 mtools.1 mtype.1 mwrite.1 mzip.1
MAN5= mtools.5
post-patch:
@cd ${WRKSRC}; for f in config.c mtools.5 mtools.texi; do \
mv $$f $$f.orig; \
sed -e s:/etc/mtools.conf:${PREFIX}/etc/mtools.conf: \
< $$f.orig > $$f; done
post-install:
@install -c ${WRKSRC}/mtools.conf ${PREFIX}/etc
@if [ ! -f ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
@install-info ${PREFIX}/info/mtools.info ${PREFIX}/info/dir
.include <bsd.port.mk>