mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Use options helpers
This commit is contained in:
parent
2fcf01af1e
commit
c47a89e9ca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370719
@ -24,12 +24,7 @@ PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
STATIC_BUILD_DEPENDS= ${LOCALBASE}/lib/libpng.a:${PORTSDIR}/graphics/png
|
||||
STATIC_MAKE_ENV= STATIC=1
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ! ${PORT_OPTIONS:MSTATIC}
|
||||
LIB_DEPENDS+= libpng15.so:${PORTSDIR}/graphics/png
|
||||
.endif
|
||||
STATIC_LIB_DEPENDS_OFF= libpng15.so:${PORTSDIR}/graphics/png
|
||||
|
||||
do-install:
|
||||
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \
|
||||
|
Loading…
Reference in New Issue
Block a user