Makefile 796 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.24 2016/05/05 19:52:29 naddy Exp $
  2. DISTNAME= xps-4.2
  3. REVISION= 8
  4. CATEGORIES= sysutils x11
  5. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=motif-pstree/}
  6. PERMIT_PACKAGE_CDROM= Yes
  7. WANTLIB= ICE SM X11 Xext Xmu Xt c kvm m Xm
  8. COMMENT= graphically display and dynamically update the process tree
  9. USE_GMAKE= Yes
  10. CONFIGURE_STYLE= gnu
  11. CONFIGURE_ARGS= --x-includes=${LOCALBASE}/include \
  12. --with-motif-libs=${LOCALBASE}/lib
  13. CONFIGURE_ENV= LDFLAGS=-lm
  14. MAKE_ENV+=MOTIFLIB='-L${LOCALBASE}/lib -lXm'
  15. LIB_DEPENDS+= x11/motif
  16. NO_TEST= Yes
  17. do-install:
  18. ${INSTALL_PROGRAM} ${WRKBUILD}/src/xps ${PREFIX}/bin
  19. ${INSTALL_MAN} ${WRKBUILD}/doc/xps.1 ${PREFIX}/man/man1/xps.1
  20. ${INSTALL_DATA} ${WRKBUILD}/src/Xps \
  21. ${PREFIX}/lib/X11/app-defaults
  22. .include <bsd.port.mk>