Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2014 13:48:07 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341173 - head/deskutils/easystroke
Message-ID:  <201401261348.s0QDm7Ir054246@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Jan 26 13:48:06 2014
New Revision: 341173
URL: http://svnweb.freebsd.org/changeset/ports/341173
QAT: https://qat.redports.org/buildarchive/r341173/

Log:
  - Fix LIB_DEPENDS syntax
  While here:
  - Remove USE_GCC=any, it builds and runs fine with clang (tested on 10-amd64)
  - Add stage support

Modified:
  head/deskutils/easystroke/Makefile
  head/deskutils/easystroke/pkg-plist

Modified: head/deskutils/easystroke/Makefile
==============================================================================
--- head/deskutils/easystroke/Makefile	Sun Jan 26 13:20:07 2014	(r341172)
+++ head/deskutils/easystroke/Makefile	Sun Jan 26 13:48:06 2014	(r341173)
@@ -13,20 +13,16 @@ LICENSE=	ISCL
 
 BUILD_DEPENDS=	help2man:${PORTSDIR}/misc/help2man \
 		${LOCALBASE}/include/xorg/xserver-properties.h:${PORTSDIR}/x11-servers/xorg-server
-LIB_DEPENDS=	libgtkmm-3.so:${PORTSDIR}/x11-toolkits/gtkmm30 \
-		libdbus-glib.so:${PORTSDIR}/devel/dbus-glib \
+LIB_DEPENDS=	libgtkmm-3.0.so:${PORTSDIR}/x11-toolkits/gtkmm30 \
+		libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
 		libboost_serialization.so:${PORTSDIR}/devel/boost-libs
 
-MAN1=		easystroke.1
-
-USE_GCC=	any
 USE_XORG=	x11 xtst
 USES=		gettext gmake pkgconfig
 INSTALLS_ICONS=	yes
 
 OPTIONS_DEFINE=	NLS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNLS}
@@ -44,14 +40,14 @@ pre-build:
 .endif
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications/
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.svg ${PREFIX}/share/pixmaps/
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.svg ${STAGEDIR}${PREFIX}/share/pixmaps/
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
 
 .if ${PORT_OPTIONS:MNLS}
 	(cd ${WRKSRC}/po/ && \
-		${COPYTREE_SHARE} \* ${PREFIX}/share/locale/ "-name *.mo")
+		${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/locale/ "-name *.mo")
 .endif
 
 .include <bsd.port.mk>

Modified: head/deskutils/easystroke/pkg-plist
==============================================================================
--- head/deskutils/easystroke/pkg-plist	Sun Jan 26 13:20:07 2014	(r341172)
+++ head/deskutils/easystroke/pkg-plist	Sun Jan 26 13:48:06 2014	(r341173)
@@ -1,3 +1,4 @@
+man/man1/easystroke.1.gz
 share/pixmaps/easystroke.svg
 %%NLS%%share/locale/ru/LC_MESSAGES/easystroke.mo
 %%NLS%%share/locale/ko/LC_MESSAGES/easystroke.mo



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