openbsd-ports/sysutils/xps/Makefile
2022-03-31 13:37:02 +00:00

32 lines
733 B
Makefile

DISTNAME= xps-4.2
REVISION= 10
CATEGORIES= sysutils x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=motif-pstree/}
PERMIT_PACKAGE= Yes
WANTLIB= ICE SM X11 Xext Xmu Xt c kvm m Xm elf
COMMENT= graphically display and dynamically update the process tree
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --x-includes=${LOCALBASE}/include \
--with-motif-libs=${LOCALBASE}/lib
CONFIGURE_ENV= LDFLAGS=-lm
MAKE_ENV+=MOTIFLIB='-L${LOCALBASE}/lib -lXm'
LIB_DEPENDS+= x11/motif
NO_TEST= Yes
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/src/xps ${PREFIX}/bin
${INSTALL_MAN} ${WRKBUILD}/doc/xps.1 ${PREFIX}/man/man1/xps.1
${INSTALL_DATA} ${WRKBUILD}/src/Xps \
${PREFIX}/lib/X11/app-defaults
.include <bsd.port.mk>