Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2019 08:00:34 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493655 - head/sysutils/xvidcap
Message-ID:  <201902230800.x1N80Y2O063867@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Feb 23 08:00:34 2019
New Revision: 493655
URL: https://svnweb.freebsd.org/changeset/ports/493655

Log:
  Use rarian instead of scrollkeeper when building.
  
  Rarian replaced scrollkeeper long ago

Modified:
  head/sysutils/xvidcap/Makefile

Modified: head/sysutils/xvidcap/Makefile
==============================================================================
--- head/sysutils/xvidcap/Makefile	Sat Feb 23 07:51:00 2019	(r493654)
+++ head/sysutils/xvidcap/Makefile	Sat Feb 23 08:00:34 2019	(r493655)
@@ -14,7 +14,7 @@ COMMENT=		Capture your X display to individual frames 
 LICENSE=		GPLv3
 
 BUILD_DEPENDS=		xml2po:textproc/gnome-doc-utils	\
-			scrollkeeper-config:textproc/scrollkeeper
+			scrollkeeper-config:textproc/rarian
 LIB_DEPENDS=		libswscale.so:multimedia/ffmpeg	\
 			libdbus-glib-1.so:devel/dbus-glib	\
 			libmp3lame.so:audio/lame
@@ -22,12 +22,11 @@ RUN_DEPENDS=		animate:graphics/ImageMagick6	\
 			gimp:graphics/gimp-app
 
 GNU_CONFIGURE=		yes
-CPPFLAGS+=		-I${LOCALBASE}/include
 # --export-dynamic fixes libglade problems
-LDFLAGS+=		-L${LOCALBASE}/lib -Wl,--export-dynamic
+LDFLAGS+=		-Wl,--export-dynamic
 
 USE_GNOME=		glib20 libglade2 intltool
-USES=			gettext gmake pkgconfig
+USES=			gettext gmake gnome localbase pkgconfig
 USE_XORG=		x11 xmu ice xfixes xdamage
 INSTALLS_OMF=		yes
 MANLANG=		"" de es it
@@ -41,20 +40,16 @@ NULLDOCS=		COPYING
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
-.if empty(PORT_OPTIONS:MDOCS)
-	${REINPLACE_CMD} -e 's|pkgdataDATA install-xvidcapdocDATA|pkgdataDATA|'	\
-		${WRKSRC}/Makefile.in
-.endif
 	${REINPLACE_CMD} -e 's|/bin/bash | /bin/sh|' ${WRKSRC}/ppm2mpeg.sh
 	@${REINPLACE_CMD} '/^xvidcap_LDADD =/s/$$/ -lXext -lX11/' \
 		${WRKSRC}/src/Makefile.in
 
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-patch-DOCS-on:
+	${REINPLACE_CMD} -e 's|pkgdataDATA install-xvidcapdocDATA|pkgdataDATA|'	\
+		${WRKSRC}/Makefile.in
+
+post-install-DOCS-on:
 	${RM} ${NULLDOCS:S|^|${STAGEDIR}${DOCSDIR}/|}
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902230800.x1N80Y2O063867>