aboutsummaryrefslogtreecommitdiffstats
path: root/x11/silo/Makefile
blob: fe6fa97aa09592041700a87cd1f00f1dfcd42825 (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
43
44
45
# New ports collection makefile for:   silo
# Date created:        26 October 2003
# Whom:                DoubleF <doublef@tele-kom.ru>
#
# $FreeBSD$
#

PORTNAME=   silo
PORTVERSION=    1.0
PORTREVISION=   9
CATEGORIES= x11
MASTER_SITES=   http://doublef.nm.ru/silo/sources/

MAINTAINER= doublef@tele-kom.ru
COMMENT=    A simple X11 launcher extensible in any programming language

USE_BZIP2=  yes
USE_XORG=   xpm x11

BROKEN=     does not compile

pre-everything::
.if defined(WITHOUT_IMLIB)
    @${ECHO_CMD} "Disabling Imlib support; only XPM images are supported"
.else
    @${ECHO_CMD} "You can disable Imlib support by defining WITHOUT_IMLIB"
USE_GNOME=  imlib
.endif

#SRC = silo.c
IMG=    audacitya.png audacityi.png sylpheeda.png sylpheedi.png

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/silo ${PREFIX}/bin
    ${INSTALL_SCRIPT} ${WRKSRC}/pushbutton ${PREFIX}/bin
    ${MKDIR} ${EXAMPLESDIR}/img/
    ${MKDIR} ${EXAMPLESDIR}/prg/
.for file in ${IMG}
    ${INSTALL_DATA} ${WRKSRC}/share/img/${file} ${EXAMPLESDIR}/img/
.endfor
    ${INSTALL_SCRIPT} ${WRKSRC}/share/prg/audacity ${EXAMPLESDIR}/prg/
    ${INSTALL_SCRIPT} ${WRKSRC}/share/prg/sylpheed ${EXAMPLESDIR}/prg/
    ${INSTALL_SCRIPT} ${WRKSRC}/share/topright.sh ${EXAMPLESDIR}/

.include <bsd.port.mk>