summaryrefslogtreecommitdiff
path: root/net/silky/Makefile
blob: 1c764bbe6bc7808afcb5b84825217ce5fbb0acc7 (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:	silky
# Date created:				2003.12.16
# Whom:					Evgueni V. Gavrilov <aquatique@rusunix.org>
#
# $FreeBSD$
#

PORTNAME=	silky
PORTVERSION=	0.5.5
PORTREVISION=	1
CATEGORIES=	net security
MASTER_SITES=	SF \
		ftp://rusunix.org/pub/FreeBSD/distfiles/
MASTER_SITE_SUBDIR=	silky

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A simple and easy to use graphical, os-independent SILC client

LIB_DEPENDS=	silcclient-1.1:${PORTSDIR}/devel/silc-toolkit
RUN_DEPENDS=	${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support

GNU_CONFIGURE=	yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=	--with-silc-include=${LOCALBASE}/include/silc \
		--with-silc-libs=${LOCALBASE}/lib \
		--with-docdir=${DOCSDIR} \
		--with-libintl-prefix=${LOCALBASE}
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"

USE_GNOME=	gtk20 libglade2 gnomelibs
USE_GMAKE=	yes
USE_PERL5=	yes

post-patch:
	@${PERL} -pi -e 's/ include / /' ${WRKSRC}/Makefile.in
	@${PERL} -pi -e 's|share/pixmaps/\$${\w+}|share/pixmaps/|; \
			s|(PACKAGE_PIXMAPS_DIR \")\$${packageprefix}/|\1${LOCALBASE}/|' \
	    ${WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.mk>