openbsd-ports/sysutils/mtools/Makefile
fgsch 465ed852bb update to 3.9.10; add no_x11 flavor (off by default).
thanks to jolan@ for pointing in the right direction.
2005-04-15 19:06:56 +00:00

46 lines
813 B
Makefile

# $OpenBSD: Makefile,v 1.47 2005/04/15 19:06:56 fgsch Exp $
COMMENT= "read/write/list/format DOS disks under Unix"
DATE= 20050317
DISTNAME= mtools-3.9.10
PKGNAME= ${DISTNAME}.${DATE}
CATEGORIES= sysutils
MASTER_SITES= http://www.tux.org/pub/knaff/mtools/ \
${HOMEPAGE}
PATCHFILES= ${DISTNAME}-${DATE}.diff.gz
MAINTAINER= Federico Schwindt <fgsch@openbsd.org>
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
.endif
pre-patch:
@ln -s . ${WRKSRC}/mtools
post-patch:
@rm ${WRKSRC}/mtools
.include <bsd.port.mk>