Makefile 905 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.10 2017/02/28 17:40:09 naddy Exp $
  2. COMMENT= good-looking ssh-agent pass-phrase dialog
  3. DISTNAME = ssh-askpass-fullscreen-0.4
  4. REVISION= 6
  5. CATEGORIES= security
  6. MASTER_SITES = http://www.cgabriel.org/download/ssh-askpass-fullscreen/
  7. # GPLv2
  8. PERMIT_PACKAGE_CDROM= Yes
  9. LIB_DEPENDS = x11/gtk+2
  10. WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes
  11. WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo fontconfig
  12. WANTLIB += freetype gio-2.0 glib-2.0 gobject-2.0
  13. WANTLIB += gdk-x11-2.0 gtk-x11-2.0 gdk_pixbuf-2.0
  14. WANTLIB += intl pango-1.0 pangocairo-1.0 pangoft2-1.0
  15. WANTLIB += pthread z
  16. do-build:
  17. cd ${WRKBUILD} && \
  18. ${CC} ${CFLAGS} -o ssh-askpass-fullscreen \
  19. ${WRKSRC}/ssh-askpass-fullscreen.c `pkg-config --cflags gtk+-2.0` \
  20. `pkg-config --libs gtk+-2.0`
  21. do-install:
  22. ${INSTALL_PROGRAM} ${WRKBUILD}/ssh-askpass-fullscreen ${PREFIX}/bin
  23. .include <bsd.port.mk>