From 36aed8511c49b86e6d59495101c5b94505fb065b Mon Sep 17 00:00:00 2001 From: rene Date: Tue, 5 Jun 2012 18:23:59 +0000 Subject: - convert to optionsNG - include bsd.port.mk instead of bsd.port.{pre|post}.mk - strip version information from LIB_DEPENDS to pet portlint --- emulators/lib765/Makefile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'emulators/lib765') diff --git a/emulators/lib765/Makefile b/emulators/lib765/Makefile index 1e70780..b7c0567 100644 --- a/emulators/lib765/Makefile +++ b/emulators/lib765/Makefile @@ -18,21 +18,25 @@ LICENSE= LGPL20 USE_AUTOTOOLS= libtool USE_LDCONFIG= yes -OPTIONS= LIBDSK "With LIBDSK support (recommended)" on +OPTIONS_DEFINE= LIBDSK -.include +LIBDSK_DESC= Include LibDSK support (recommended) -.if defined(WITH_LIBDSK) +OPTIONS_DEFAULT= LIBDSK + +.include + +.if ${PORT_OPTIONS:MLIBDSK} CONFIGURE_ARGS+= --with-libdsk --with-libdsk-path=${LOCALBASE} -LIB_DEPENDS+= dsk.5:${PORTSDIR}/emulators/libdsk +LIB_DEPENDS+= dsk:${PORTSDIR}/emulators/libdsk .else CONFIGURE_ARGS+= --without-libdsk .endif post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog doc/765.txt ${DOCSDIR} .endif -.include +.include -- cgit v1.1