44 lines
762 B
Makefile
44 lines
762 B
Makefile
# $OpenBSD: Makefile,v 1.48 2005/06/12 20:19:16 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
|
|
|
|
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>
|