1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- convert to optionsNG

- include bsd.port.mk instead of bsd.port.{pre|post}.mk
- strip version information from LIB_DEPENDS to pet portlint
This commit is contained in:
Rene Ladan 2012-06-05 18:23:59 +00:00
parent b4865698d0
commit b6e6c5f10f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298504

View File

@ -18,21 +18,25 @@ LICENSE= LGPL20
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
OPTIONS= LIBDSK "With LIBDSK support (recommended)" on
OPTIONS_DEFINE= LIBDSK
.include <bsd.port.pre.mk>
LIBDSK_DESC= Include LibDSK support (recommended)
.if defined(WITH_LIBDSK)
OPTIONS_DEFAULT= LIBDSK
.include <bsd.port.options.mk>
.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 <bsd.port.post.mk>
.include <bsd.port.mk>