mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Support staging
- Convert USE_GMAKE to USES - Convert USE_BZIP2 to USES - Use new LIB_DEPENDS syntax
This commit is contained in:
parent
a8aa9b6328
commit
4c675dc010
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353541
@ -19,31 +19,30 @@ OPTIONS_DEFAULT= JPEG V4L
|
||||
MPEG4_DESC= MPEG4 encoding support
|
||||
V4L_DESC= V4L input support
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
USES= tar:bzip2 gmake
|
||||
USE_CSTD= gnu89
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_AUTOTOOLS= autoconf aclocal automake
|
||||
AUTOMAKE_ARGS= --add-missing
|
||||
|
||||
NOMAN= defined
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
|
||||
NO_STAGE= yes
|
||||
PLIST_FILES= bin/spook bin/spookctl etc/spook.conf.dist
|
||||
PORTDOCS= *
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MJPEG}
|
||||
LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg
|
||||
LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg
|
||||
CONFIGURE_ARGS+= --enable-encoder-jpeg
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MMPEG4}
|
||||
LIB_DEPENDS+= xvidcore.4:${PORTSDIR}/multimedia/xvid
|
||||
LIB_DEPENDS+= libxvidcore.so:${PORTSDIR}/multimedia/xvid
|
||||
CONFIGURE_ARGS+= --enable-encoder-mpeg4
|
||||
.endif
|
||||
|
||||
@ -52,19 +51,11 @@ BUILD_DEPENDS+= ${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4
|
||||
CONFIGURE_ARGS+= --enable-input-v4l
|
||||
.endif
|
||||
|
||||
PLIST_FILES= bin/spook bin/spookctl etc/spook.conf.dist
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
PORTDOCS= README
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/spook ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/spookctl ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/spook.conf.dist ${PREFIX}/etc
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/spook ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/spookctl ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/spook.conf.dist ${STAGEDIR}${PREFIX}/etc
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user