aboutsummaryrefslogtreecommitdiffstats
path: root/x11/decurs/Makefile
blob: dc21ba2834cb4605b16250405cdf72e7d02198de (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
# New ports collection makefile for:   decurs
# Date created:     19 January 2002
# Whom:         Miguel Mendez <flynn@energyhq.homeip.net>
#
# $FreeBSD$
#

PORTNAME=   decurs
PORTVERSION=    0.55.1
PORTREVISION=   2
CATEGORIES= x11
MASTER_SITES=   http://varg.dyndns.org/psi/files/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A GTK+ based program that lets you edit you XFree86 mouse cursors

LIB_DEPENDS=    gtkmm-2.0.6:${PORTSDIR}/x11-toolkits/gtk--2

USE_X_PREFIX=   yes
USE_GNOME=  gnometarget gtk20
GNU_CONFIGURE=  yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 501000 || ${ARCH} != "i386"
BROKEN=     "Does not compile on FreeBSD ${OSVERSION} or on !i386"
.endif

post-patch:
    @${SED} -e 's:%%PREFIX%%:${PREFIX}:g' \
        ${FILESDIR}/decurs.exec > ${WRKSRC}/decurs.exec

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/decurs ${PREFIX}/bin/decurs.bin
    ${INSTALL_SCRIPT} ${WRKSRC}/decurs.exec ${PREFIX}/bin/decurs
    @${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/fonts/*.bdf ${DATADIR}

.include <bsd.port.post.mk>