2020-03-24 14:30:01 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.62 2020/03/24 14:30:01 fcambus Exp $
|
1999-02-28 11:18:13 +00:00
|
|
|
|
2007-09-15 21:14:00 +00:00
|
|
|
COMMENT= read/write/list/format DOS disks under Unix
|
2020-03-24 14:30:01 +00:00
|
|
|
DISTNAME= mtools-4.0.24
|
2001-05-05 22:43:34 +00:00
|
|
|
|
1999-02-28 11:18:13 +00:00
|
|
|
CATEGORIES= sysutils
|
1999-07-14 20:04:07 +00:00
|
|
|
|
2020-03-24 14:30:01 +00:00
|
|
|
HOMEPAGE= https://www.gnu.org/software/mtools/
|
2001-02-24 09:08:53 +00:00
|
|
|
|
2013-11-06 15:06:53 +00:00
|
|
|
# GPLv3+
|
2019-07-12 20:49:33 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2013-11-06 15:06:53 +00:00
|
|
|
|
|
|
|
WANTLIB += c
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=mtools/}
|
2000-03-24 10:43:18 +00:00
|
|
|
|
2000-06-11 01:31:24 +00:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
2013-11-06 15:06:53 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
2012-03-29 13:38:12 +00:00
|
|
|
SEPARATE_BUILD= Yes
|
1999-02-28 11:18:13 +00:00
|
|
|
|
2005-04-15 19:06:56 +00:00
|
|
|
FLAVORS= no_x11
|
|
|
|
FLAVOR?=
|
|
|
|
|
2013-11-06 15:06:53 +00:00
|
|
|
FAKE_FLAGS= INSTALL_PROGRAM="${INSTALL_PROGRAM}"
|
|
|
|
|
2013-02-09 14:49:50 +00:00
|
|
|
.if ${FLAVOR:Mno_x11}
|
2005-04-15 19:06:56 +00:00
|
|
|
CONFIGURE_ARGS= --with-x=no
|
|
|
|
.else
|
2013-11-06 15:06:53 +00:00
|
|
|
WANTLIB+= X11 Xau
|
2005-04-15 19:06:56 +00:00
|
|
|
.endif
|
|
|
|
|
2013-11-06 15:06:53 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mtools/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/mtools.conf ${PREFIX}/share/examples/mtools/
|
1999-07-14 20:04:07 +00:00
|
|
|
|
1999-02-28 11:18:13 +00:00
|
|
|
.include <bsd.port.mk>
|