2006-02-10 18:03:53 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2006/02/10 23:03:53 steven Exp $
|
2001-02-18 11:27:28 -05:00
|
|
|
|
2001-04-13 20:51:24 -04:00
|
|
|
COMMENT= "alternative xdm-invoked chooser"
|
|
|
|
|
2003-05-12 16:11:28 -04:00
|
|
|
DISTNAME= xdmchoose-1.2.1
|
2006-02-10 18:03:53 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2001-02-18 11:27:28 -05:00
|
|
|
CATEGORIES= x11
|
2006-02-10 18:03:53 -05:00
|
|
|
HOMEPAGE= http://frmb.org/xdmchoose.html
|
2001-02-18 11:27:28 -05:00
|
|
|
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
|
2003-05-12 16:11:28 -04:00
|
|
|
# GPL
|
2001-02-18 11:27:28 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2006-02-10 18:03:53 -05:00
|
|
|
WANTLIB= X11 Xdmcp Xpm c
|
2001-02-18 11:27:28 -05:00
|
|
|
|
2006-02-10 18:03:53 -05:00
|
|
|
MASTER_SITES= http://frmb.org/download/
|
2001-02-18 11:27:28 -05:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
2003-05-12 16:11:28 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include"
|
2001-02-18 11:27:28 -05:00
|
|
|
|
|
|
|
post-install:
|
2003-05-12 16:11:28 -04:00
|
|
|
@perl -i -pe 's!%%PREFIX%%!${TRUEPREFIX}!g' ${WRKSRC}/xdmchoose.conf
|
2001-02-18 11:27:28 -05:00
|
|
|
${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>
|