openbsd-ports/x11/wmweather/Makefile

40 lines
899 B
Makefile

# $OpenBSD: Makefile,v 1.18 2009/09/27 10:50:58 landry Exp $
COMMENT= wm-dockapp; weather monitor
DISTNAME= wmweather-2.4.3
PKGNAME= ${DISTNAME}p1
CATEGORIES= x11 x11/windowmaker
HOMEPAGE= http://people.debian.org/~godisch/wmweather/
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext Xpm c
MASTER_SITES= ${HOMEPAGE}
LIB_DEPENDS= curl.::net/curl
USE_GMAKE= Yes
USE_X11= Yes
NO_REGRESS= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-xmessage
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
WRKSRC= ${WRKDIST}/src
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/wmweather
mv ${WRKINST}/${SYSCONFDIR}/wmweather.conf ${PREFIX}/share/examples/wmweather/
.include <bsd.port.mk>