summaryrefslogtreecommitdiff
path: root/x11/xpmroot/Makefile
blob: b25097f2c96e4f496e8fb65b9f3b21f048c0aace (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $NetBSD: Makefile,v 1.37 2003/01/19 11:06:11 salo Exp $
#

DISTNAME=       fvwm-${PKG_VERSION}
PKGNAME=	xpmroot-${PKG_VERSION}
CATEGORIES=	x11
MASTER_SITES=   ftp://ftp.fvwm.org/pub/fvwm/version-2/ \
		ftp://ftp.hpc.uh.edu/pub/fvwm/version-2/

MAINTAINER=	martti@netbsd.org
HOMEPAGE=	http://www.fvwm.org/generated/manpages/xpmroot.html
COMMENT=	Sets the root window to an Xpm pixmap

PKG_VERSION=	2.4.14
USE_BUILDLINK2=	YES
USE_X11BASE=	YES
GNU_CONFIGURE=	YES

MAKE_ENV+=	VERSION=${PKG_VERSION}
CONFIGURE_ARGS+=	--without-extras --disable-dmalloc --without-gnome

do-build:
	@(cd ${WRKSRC}/libs && \
		${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} all)
	@(cd ${WRKSRC}/utils && \
		${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} xpmroot)

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/utils/xpmroot ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/utils/xpmroot.1 ${PREFIX}/man/man1

.include "../../graphics/xpm/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"