aboutsummaryrefslogtreecommitdiff
path: root/x11/chameleon/Makefile
blob: 1d6ebcd95bcc59c51418b7a6edd038ebf4720a35 (plain) (blame)
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
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:	chameleon
# Date created:		17 Jan 2003
# Whom:			Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
#
# $FreeBSD$
#

PORTNAME=	chameleon
PORTVERSION=	1.1
PORTREVISION=	1
CATEGORIES=	x11
MASTER_SITES=	http://ftp.us.debian.org/debian/pool/main/c/chameleon/ \
		ftp://carroll.aset.psu.edu/pub/linux/distributions/debian/pool/main/c/chameleon/ \
		http://www.mirrorservice.org/sites/ftp.debian.org/debian/pool/main/c/chameleon/ \
		ftp://ftp.debian.org/debian/pool/main/c/chameleon/
PKGNAMEPREFIX=	x11-
DISTNAME=	chameleon_${PORTVERSION}.orig

MAINTAINER=	gavin.atkinson@ury.york.ac.uk
COMMENT=	"Application for putting pictures or colors onto the root window"

LIB_DEPENDS=	Imlib.5:${PORTSDIR}/graphics/imlib

USE_GNOME=	gtk12
USE_GUNZIP=	yes
USE_X_PREFIX=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
PIXMAPSDIR=	${PREFIX}/share/pixmaps/

MAN1=		chameleon.1

MAKEFILE=	${FILESDIR}/Makefile

post-patch:
	${GUNZIP_CMD} ${WRKSRC}/${PORTNAME}.1.gz

pre-install:
	@if test ! -d ${PIXMAPSDIR}; then \
		${MKDIR} ${PIXMAPSDIR}; ${CHMOD} 0755 ${PIXMAPSDIR}; fi

.include <bsd.port.mk>