openbsd-ports/x11/jwm/Makefile
2009-10-11 14:06:20 +00:00

46 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.6 2009/10/11 14:06:20 edd Exp $
COMMENT= Joe's Window Manager
DISTNAME= jwm-2.0.1
PKGNAME= ${DISTNAME}p1
CATEGORIES= x11
HOMEPAGE= http://www.joewing.net/programs/jwm/
MAINTAINER= Edd Barrett <edd@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext Xft Xinerama Xpm Xrender pthread-stubs xcb \
c fontconfig freetype m z Xau Xdmcp expat jpeg
MASTER_SITES= ${HOMEPAGE}/releases/
EXTRACT_SUFX= .tar.bz2
LIB_DEPENDS= fribidi::devel/fribidi \
png.>=2::graphics/png \
jpeg::graphics/jpeg
NO_REGRESS= Yes
USE_X11= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include/ ${CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib/"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/jwm ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/jwm.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/jwm
${INSTALL_DATA} ${WRKSRC}/example.jwmrc \
${PREFIX}/share/examples/jwm/system.jwmrc
.include <bsd.port.mk>