mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
Fix 'make package' in the no X11 case.
Submitted by: Alec Wolman <wolman@cs.washington.edu>
This commit is contained in:
parent
ad5221ed8d
commit
f30eb2793a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40854
3 changed files with 48 additions and 3 deletions
|
@ -19,16 +19,26 @@ PATCH_DIST_STRIP= -p1
|
||||||
MAINTAINER= jmz@FreeBSD.org
|
MAINTAINER= jmz@FreeBSD.org
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
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
|
CONFIGURE_ARGS= --enable-xdf
|
||||||
|
.endif
|
||||||
|
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
|
|
||||||
MAN1= mattrib.1 mbadblocks.1 mcat.1 mcd.1 mcopy.1 mdel.1 mdeltree.1 \
|
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 \
|
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 \
|
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
|
MAN5= mtools.5
|
||||||
|
|
||||||
|
.if defined(WITH_X11)
|
||||||
|
MAN1+= floppyd.1 floppyd_installtest.1
|
||||||
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@cd ${WRKSRC}; for f in config.c mformat.c mtools.5 mtools.texi; do \
|
@cd ${WRKSRC}; for f in config.c mformat.c mtools.5 mtools.texi; do \
|
||||||
${MV} $$f $$f.orig; \
|
${MV} $$f $$f.orig; \
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
bin/floppyd
|
|
||||||
bin/floppyd_installtest
|
|
||||||
bin/mattrib
|
bin/mattrib
|
||||||
bin/mbadblocks
|
bin/mbadblocks
|
||||||
bin/mcat
|
bin/mcat
|
||||||
|
|
37
emulators/mtools/pkg-plist.x11
Normal file
37
emulators/mtools/pkg-plist.x11
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue