aboutsummaryrefslogtreecommitdiff
path: root/emulators/mtools/Makefile
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2001-04-05 00:23:09 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2001-04-05 00:23:09 +0000
commitf30eb2793a1662a07a8080ffcf349748cee2e1e3 (patch)
tree77ca19d37da583a695023e280f413b64a5cf8493 /emulators/mtools/Makefile
parentad5221ed8d71a760ed22e17621376447a3e0187e (diff)
downloadports-f30eb2793a1662a07a8080ffcf349748cee2e1e3.tar.gz
ports-f30eb2793a1662a07a8080ffcf349748cee2e1e3.zip
Notes
Diffstat (limited to 'emulators/mtools/Makefile')
-rw-r--r--emulators/mtools/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/emulators/mtools/Makefile b/emulators/mtools/Makefile
index 5ed0a743c9fc..962fd68de8bf 100644
--- a/emulators/mtools/Makefile
+++ b/emulators/mtools/Makefile
@@ -19,16 +19,26 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= jmz@FreeBSD.org
GNU_CONFIGURE= yes
+.if defined(WITH_X11)
+USE_XLIB= yes
+CONFIGURE_ARGS= --enable-xdf --enable-floppyd
+PLIST= pkg-plist.x11
+.else
CONFIGURE_ARGS= --enable-xdf
+.endif
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 floppyd.1 floppyd_installtest.1
+ mtoolstest.1 mtools.1 mtype.1 mzip.1
MAN5= mtools.5
+.if defined(WITH_X11)
+MAN1+= floppyd.1 floppyd_installtest.1
+.endif
+
post-patch:
@cd ${WRKSRC}; for f in config.c mformat.c mtools.5 mtools.texi; do \
${MV} $$f $$f.orig; \