aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/spook
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-05-10 07:49:27 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-05-10 07:49:27 +0800
commita4e60da02a0b9a882360ac3799869366e15fc573 (patch)
treef2f8ba0e26b5315bd3c4e5574fce69d6e1ee129d /multimedia/spook
parent13e60194ea757b6def50bf236074a3e0108dd39f (diff)
downloadfreebsd-ports-gnome-a4e60da02a0b9a882360ac3799869366e15fc573.tar.gz
freebsd-ports-gnome-a4e60da02a0b9a882360ac3799869366e15fc573.tar.zst
freebsd-ports-gnome-a4e60da02a0b9a882360ac3799869366e15fc573.zip
- Support staging
- Convert USE_GMAKE to USES - Convert USE_BZIP2 to USES - Use new LIB_DEPENDS syntax
Diffstat (limited to 'multimedia/spook')
-rw-r--r--multimedia/spook/Makefile31
1 files changed, 11 insertions, 20 deletions
diff --git a/multimedia/spook/Makefile b/multimedia/spook/Makefile
index 51df339459bc..c67777bce980 100644
--- a/multimedia/spook/Makefile
+++ b/multimedia/spook/Makefile
@@ -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>