2003-10-29 17:17:00 +01:00
|
|
|
# New ports collection makefile for: lib765
|
|
|
|
# Date created: 2003-10-27
|
|
|
|
# Whom: Alexey V. Antipovsky <kemm@in-line.ru>
|
|
|
|
#
|
|
|
|
# $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
|
|
|
|
2008-02-25 04:01:31 +01:00
|
|
|
OPTIONS= LIBDSK "With LIBDSK support (recommended)" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_LIBDSK)
|
|
|
|
CONFIGURE_ARGS+= --with-libdsk --with-libdsk-path=${LOCALBASE}
|
|
|
|
LIB_DEPENDS+= dsk.5:${PORTSDIR}/emulators/libdsk
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-libdsk
|
|
|
|
.endif
|
|
|
|
|
2003-10-29 17:17:00 +01:00
|
|
|
post-install:
|
2007-12-14 18:04:56 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
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
|
|
|
|
|
2008-02-25 04:01:31 +01:00
|
|
|
.include <bsd.port.post.mk>
|