aboutsummaryrefslogtreecommitdiffstats
path: root/x11/chameleon/Makefile
blob: 33a6d8719697f4c591c6eb55cd6bac3402e475c2 (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
# 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
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.mirror.ac.uk/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_GTK=    yes
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>