openbsd-ports/sysutils/mtools/Makefile
2006-02-08 17:27:49 +00:00

44 lines
769 B
Makefile

# $OpenBSD: Makefile,v 1.49 2006/02/08 17:27:49 steven Exp $
COMMENT= "read/write/list/format DOS disks under Unix"
DATE= 20050317
DISTNAME= mtools-3.9.10
PKGNAME= ${DISTNAME}.${DATE}p0
CATEGORIES= sysutils
MASTER_SITES= http://www.tux.org/pub/knaff/mtools/ \
${HOMEPAGE}
PATCHFILES= ${DISTNAME}-${DATE}.diff.gz
HOMEPAGE= http://mtools.linux.lu/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu dest
SEPARATE_BUILD= Simple
FLAVORS= no_x11
FLAVOR?=
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS= --with-x=no
.else
USE_X11= Yes
WANTLIB+= ICE SM X11 Xau
.endif
pre-patch:
@ln -s . ${WRKSRC}/mtools
post-patch:
@rm ${WRKSRC}/mtools
.include <bsd.port.mk>