openbsd-ports/x11/xdmchoose/Makefile
2017-04-16 12:43:20 +00:00

31 lines
750 B
Makefile

# $OpenBSD: Makefile,v 1.15 2017/04/16 12:43:20 ajacoutot Exp $
COMMENT= alternative xdm-invoked chooser
DISTNAME= xdmchoose-1.2.1
REVISION= 4
CATEGORIES= x11
HOMEPAGE= http://frmb.org/xdmchoose.html
# GPL
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= X11 Xau Xdmcp Xpm c
MASTER_SITES= http://frmb.org/download/
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include"
post-install:
${SUBST_CMD} ${WRKSRC}/xdmchoose.conf
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xdmchoose
${INSTALL_DATA} ${WRKSRC}/xdmchoose.conf \
${PREFIX}/share/examples/xdmchoose/
${INSTALL_DATA_DIR} ${PREFIX}/share/xdmchoose
. for bg in blur plain tiled
${INSTALL_DATA} ${WRKSRC}/xdmchoose-${bg}.xpm ${PREFIX}/share/xdmchoose/
. endfor
.include <bsd.port.mk>