svn commit: r349544 - head/x11-wm/obconf

Roman Bogorodskiy novel at FreeBSD.org
Sat Mar 29 15:35:17 UTC 2014


Author: novel
Date: Sat Mar 29 15:35:16 2014
New Revision: 349544
URL: http://svnweb.freebsd.org/changeset/ports/349544
QAT: https://qat.redports.org/buildarchive/r349544/

Log:
  - Stage support
  - Use new style LIB_DEPENDS syntax
  - Add desktop-file-utils and shared-mime-info to USES

Modified:
  head/x11-wm/obconf/Makefile

Modified: head/x11-wm/obconf/Makefile
==============================================================================
--- head/x11-wm/obconf/Makefile	Sat Mar 29 15:34:42 2014	(r349543)
+++ head/x11-wm/obconf/Makefile	Sat Mar 29 15:35:16 2014	(r349544)
@@ -9,15 +9,15 @@ MASTER_SITES=	http://openbox.org/dist/ob
 MAINTAINER=	novel at FreeBSD.org
 COMMENT=	Preferences manager for the Openbox window manager
 
-LIB_DEPENDS=	startup-notification-1:${PORTSDIR}/x11/startup-notification \
-		obrender:${PORTSDIR}/x11-wm/openbox
+LIB_DEPENDS=	libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification \
+		libobrender.so:${PORTSDIR}/x11-wm/openbox
 
-USES=		pkgconfig
+USES=		pkgconfig desktop-file-utils shared-mime-info
 USE_GNOME=	gnomehier libglade2
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	OPENBOX_CFLAGS="`pkg-config --cflags obrender-3.5 obt-3.5`" \
 		OPENBOX_LIBS="`pkg-config --libs obrender-3.5 obt-3.5`"
-CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc/openbox
+CONFIGURE_ARGS=	--sysconfdir=${STAGEDIR}${PREFIX}/etc/openbox
 MAKE_ARGS=	mkdir_p='${MKDIR}'
 
 CPPFLAGS+=	-I${LOCALBASE}/include
@@ -25,8 +25,6 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 
 PORTDOCS=	ABOUT-NLS AUTHORS README TODO
 
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	DOCS NLS
 
 .include <bsd.port.options.mk>
@@ -43,7 +41,7 @@ post-install:
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for file in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 


More information about the svn-ports-head mailing list