openbsd-ports/net/qsynergy/Makefile
jasper 88e13e2682 import qsynergy 0.9.1
Comprehensive and easy to use graphical front end for synergy. It allows
you to configure synergy as a client or server and gives you complete
and easy access to all of synergy's options.

ok sthen@
2011-06-22 08:27:43 +00:00

38 lines
955 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/06/22 08:27:43 jasper Exp $
COMMENT= GUI for synergy
DISTNAME= qsynergy-0.9.1
CATEGORIES= net x11
HOMEPAGE= http://sourceforge.net/projects/qsynergy/
# GPLv2
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qsynergy/}
MODULES= x11/qt4
WANTLIB += QtGui QtNetwork c m pthread stdc++
RUN_DEPENDS= devel/desktop-file-utils \
net/synergy
pre-configure:
@perl -pi -e 's,/usr,${LOCALBASE},g' ${WRKSRC}/src/AppConfig.cpp
@cd ${WRKSRC} && ${LOCALBASE}/bin/qmake4
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qsynergy ${PREFIX}/bin/
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps/
${INSTALL_DATA} ${WRKSRC}/dist/qsynergy.xpm ${PREFIX}/share/pixmaps/
${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
${INSTALL_DATA} ${WRKSRC}/dist/debian/qsynergy.desktop \
${PREFIX}/share/applications/
.include <bsd.port.mk>