Makefile 916 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile,v 1.24 2014/03/25 17:52:18 sthen Exp $
  2. COMMENT= NEC2 antenna simulator visualizer
  3. DISTNAME= xnecview-1.36
  4. REVISION= 0
  5. EXTRACT_SUFX= .tgz
  6. MASTER_SITES= http://wwwhome.cs.utwente.nl/~ptdeboer/ham/xnecview/
  7. CATEGORIES= cad hamradio
  8. HOMEPAGE= http://www.cs.utwente.nl/~ptdeboer/ham/xnecview/
  9. # GPLv2
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
  12. WANTLIB += Xrandr Xrender atk-1.0 c cairo fontconfig freetype
  13. WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
  14. WANTLIB += gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
  15. WANTLIB += png pthread z
  16. MODULES= devel/gettext
  17. LIB_DEPENDS = x11/gtk+2
  18. USE_GMAKE = Yes
  19. MAKE_FLAGS = CC="${CC}" LD="${LD}" myCFLAGS="${CFLAGS}"
  20. do-install:
  21. ${INSTALL_PROGRAM} ${WRKSRC}/xnecview ${PREFIX}/bin/
  22. ${INSTALL_MAN} ${WRKSRC}/xnecview.1x ${PREFIX}/man/man1/xnecview.1
  23. .include <bsd.port.mk>