2012-10-07 11:11:51 +02:00
|
|
|
# Created by: Alexey V. Antipovsky <kemm@in-line.ru>
|
2003-10-29 17:17:00 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= lib765
|
2009-03-21 00:01:11 +01:00
|
|
|
PORTVERSION= 0.4.2
|
2003-10-29 17:17:00 +01:00
|
|
|
CATEGORIES= emulators devel
|
|
|
|
MASTER_SITES= http://www.seasip.demon.co.uk/Unix/LibDsk/
|
|
|
|
|
2010-07-12 13:28:43 +02:00
|
|
|
MAINTAINER= rene@FreeBSD.org
|
2003-10-29 17:17:00 +01:00
|
|
|
COMMENT= Emulation of uPD765a Floppy Disc Controller
|
|
|
|
|
2010-07-17 23:48:24 +02:00
|
|
|
LICENSE= LGPL20
|
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2007-10-12 03:16:15 +02:00
|
|
|
USE_LDCONFIG= yes
|
2003-10-29 17:17:00 +01:00
|
|
|
|
2012-06-26 21:25:12 +02:00
|
|
|
OPTIONS_DEFINE= DOCS LIBDSK
|
2008-02-25 04:01:31 +01:00
|
|
|
|
2012-06-05 20:23:59 +02:00
|
|
|
LIBDSK_DESC= Include LibDSK support (recommended)
|
2008-02-25 04:01:31 +01:00
|
|
|
|
2012-06-05 20:23:59 +02:00
|
|
|
OPTIONS_DEFAULT= LIBDSK
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MLIBDSK}
|
2008-02-25 04:01:31 +01:00
|
|
|
CONFIGURE_ARGS+= --with-libdsk --with-libdsk-path=${LOCALBASE}
|
2012-06-05 20:23:59 +02:00
|
|
|
LIB_DEPENDS+= dsk:${PORTSDIR}/emulators/libdsk
|
2008-02-25 04:01:31 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-libdsk
|
|
|
|
.endif
|
|
|
|
|
2003-10-29 17:17:00 +01:00
|
|
|
post-install:
|
2012-06-05 20:23:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2003-10-29 17:17:00 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-05-21 15:45:54 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog doc/765.txt ${DOCSDIR}
|
2003-10-29 17:17:00 +01:00
|
|
|
.endif
|
|
|
|
|
2012-06-05 20:23:59 +02:00
|
|
|
.include <bsd.port.mk>
|