diff options
author | jmz <jmz@FreeBSD.org> | 2001-04-05 00:23:09 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 2001-04-05 00:23:09 +0000 |
commit | a2cbf1cd438d080e9e79e5b0e56139f8ffd3e01e (patch) | |
tree | d4893f0e5b28665e370e890c5a9a3bfb5018177e | |
parent | 566126cda3ac659a67e67185651bd679b5295aeb (diff) | |
download | FreeBSD-ports-a2cbf1cd438d080e9e79e5b0e56139f8ffd3e01e.zip FreeBSD-ports-a2cbf1cd438d080e9e79e5b0e56139f8ffd3e01e.tar.gz |
Fix 'make package' in the no X11 case.
Submitted by: Alec Wolman <wolman@cs.washington.edu>
-rw-r--r-- | emulators/mtools/Makefile | 12 | ||||
-rw-r--r-- | emulators/mtools/pkg-plist | 2 | ||||
-rw-r--r-- | emulators/mtools/pkg-plist.x11 | 37 |
3 files changed, 48 insertions, 3 deletions
diff --git a/emulators/mtools/Makefile b/emulators/mtools/Makefile index 5ed0a74..962fd68 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; \ diff --git a/emulators/mtools/pkg-plist b/emulators/mtools/pkg-plist index 095bc13..df85e54 100644 --- a/emulators/mtools/pkg-plist +++ b/emulators/mtools/pkg-plist @@ -1,5 +1,3 @@ -bin/floppyd -bin/floppyd_installtest bin/mattrib bin/mbadblocks bin/mcat diff --git a/emulators/mtools/pkg-plist.x11 b/emulators/mtools/pkg-plist.x11 new file mode 100644 index 0000000..095bc13 --- /dev/null +++ b/emulators/mtools/pkg-plist.x11 @@ -0,0 +1,37 @@ +bin/floppyd +bin/floppyd_installtest +bin/mattrib +bin/mbadblocks +bin/mcat +bin/mcd +bin/mcheck +bin/mcomp +bin/mcopy +bin/mdel +bin/mdeltree +bin/mdir +bin/mdu +bin/mformat +bin/minfo +bin/mkmanifest +bin/mlabel +bin/mmd +bin/mmount +bin/mmove +bin/mpartition +bin/mrd +bin/mread +bin/mren +bin/mshowfat +bin/mtools +bin/mtoolstest +bin/mtype +bin/mwrite +bin/mxtar +bin/mzip +@unexec install-info --delete %D/info/mtools.info %D/info/dir +info/mtools.info +@exec install-info %D/info/mtools.info %D/info/dir +etc/mtools.conf.sample +@exec ln -fs %D/man/man1/mcopy.1.gz %D/man/man1/mwrite.1.gz +@unexec rm %D/man/man1/mwrite.1.gz |