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

PORTNAME=	silo
PORTVERSION=	1.0
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_XLIB=	yes
USE_XPM=	yes
USE_X_PREFIX=	yes

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>