blob: 28f9781a94ae679f4071ceb61b3322813c95ecef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# New ports collection makefile for: cpmtools
# Date created: 31 January 2008
# Whom: joerg
#
# $FreeBSD$
#
PORTNAME= cpmtools27
PORTVERSION= 2.7
CATEGORIES= emulators sysutils
MASTER_SITES= http://www.moria.de/~michael/cpmtools/
DISTNAME= cpmtools-${PORTVERSION}
MAINTAINER= pixel@hugbox.org
COMMENT= Tools to access CP/M disks and disk images
LIB_DEPENDS+= dmalloc:${PORTSDIR}/devel/dmalloc
HAS_CONFIGURE= yes
CONFIGURE_ARGS+=--mandir=${PREFIX}/man --bindir=${PREFIX}/sbin \
--datarootdir=${PREFIX}/share/${PORTNAME} --with-dmalloc
MAN1= cpmls.1 cpmcp.1 cpmrm.1 cpmchmod.1 cpmchattr.1 mkfs.cpm.1 fsck.cpm.1 fsed.cpm.1
MAN5= cpm.5
OPTIONS= RAW_LIBDSK "With LIBDSK support with direct floppy access" on \
LIBDSK "With LIBDSK support (no direct floppy access)" off
.include <bsd.port.pre.mk>
.if defined(WITH_LIBDSK) || defined(WITH_RAW_LIBDSK)
LIB_DEPENDS+= dsk.5:${PORTSDIR}/emulators/libdsk
CONFIGURE_ARGS+=--with-libdsk=${LOCALBASE} --with-device=LibDsk
.else
CONFIGURE_ARGS+=--without-libdsk --with-device=posix
.endif
.if defined(WITH_RAW_LIBDSK)
CONFIGURE_ARGS+=--enable-floppy
.else
CONFIGURE_ARGS+=--disable-floppy
.endif
pre-install:
@${MKDIR} ${DATADIR}
.include <bsd.port.post.mk>
|