38 lines
682 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.62 2020/03/24 14:30:01 fcambus Exp $
1999-02-28 11:18:13 +00:00
COMMENT= read/write/list/format DOS disks under Unix
DISTNAME= mtools-4.0.24
1999-02-28 11:18:13 +00:00
CATEGORIES= sysutils
HOMEPAGE= https://www.gnu.org/software/mtools/
2013-11-06 15:06:53 +00:00
# GPLv3+
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
SEPARATE_BUILD= Yes
1999-02-28 11:18:13 +00:00
FLAVORS= no_x11
FLAVOR?=
2013-11-06 15:06:53 +00:00
FAKE_FLAGS= INSTALL_PROGRAM="${INSTALL_PROGRAM}"
.if ${FLAVOR:Mno_x11}
CONFIGURE_ARGS= --with-x=no
.else
2013-11-06 15:06:53 +00:00
WANTLIB+= X11 Xau
.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-02-28 11:18:13 +00:00
.include <bsd.port.mk>