42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.2 2013/03/11 11:41:28 espie Exp $
|
|
|
|
COMMENT= Qt GUI to configure YubiKeys
|
|
|
|
DISTNAME= yubikey-personalization-gui-3.1.2
|
|
|
|
CATEGORIES= security x11
|
|
|
|
HOMEPAGE= http://code.google.com/p/yubikey-personalization/
|
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += ICE QtGui SM X11 Xext Xi Xinerama Xrender c fontconfig
|
|
WANTLIB += freetype m pthread stdc++ ykpers-1 yubikey
|
|
|
|
MASTER_SITES= http://yubikey-personalization.googlecode.com/files/
|
|
|
|
RUN_DEPENDS= devel/desktop-file-utils
|
|
LIB_DEPENDS= devel/libyubikey>=1.8.0 \
|
|
sysutils/ykpers>=1.9.0
|
|
|
|
MODULES= x11/qt4
|
|
NO_TEST= Yes
|
|
|
|
do-configure:
|
|
cd ${WRKSRC}; CXXFLAGS="${CXXFLAGS}" qmake4
|
|
|
|
R = ${WRKSRC}/resources/lin/yubikey-personalization-gui
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} \
|
|
${WRKSRC}/build/release/yubikey-personalization-gui ${PREFIX}/bin
|
|
cd ${PREFIX}/share && ${INSTALL_DATA_DIR} applications pixmaps
|
|
${INSTALL_DATA} $R.1 ${PREFIX}/man/man1
|
|
${INSTALL_DATA} $R.desktop ${PREFIX}/share/applications
|
|
${INSTALL_DATA} $R.png ${PREFIX}/share/pixmaps
|
|
|
|
.include <bsd.port.mk>
|