mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04: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:
parent
b4865698d0
commit
b6e6c5f10f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298504
1 changed files with 10 additions and 6 deletions
|
@ -18,21 +18,25 @@ LICENSE= LGPL20
|
||||||
USE_AUTOTOOLS= libtool
|
USE_AUTOTOOLS= libtool
|
||||||
USE_LDCONFIG= yes
|
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}
|
CONFIGURE_ARGS+= --with-libdsk --with-libdsk-path=${LOCALBASE}
|
||||||
LIB_DEPENDS+= dsk.5:${PORTSDIR}/emulators/libdsk
|
LIB_DEPENDS+= dsk:${PORTSDIR}/emulators/libdsk
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --without-libdsk
|
CONFIGURE_ARGS+= --without-libdsk
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
@${MKDIR} ${DOCSDIR}
|
@${MKDIR} ${DOCSDIR}
|
||||||
cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog doc/765.txt ${DOCSDIR}
|
cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog doc/765.txt ${DOCSDIR}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue