2004-01-03 16:05:37 +01:00
|
|
|
# New ports collection makefile for: silky
|
|
|
|
# Date created: 2003.12.16
|
|
|
|
# Whom: Evgueni V. Gavrilov <aquatique@rusunix.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= silky
|
2004-03-05 10:49:31 +01:00
|
|
|
PORTVERSION= 0.5.0
|
2004-04-05 05:31:02 +02:00
|
|
|
PORTREVISION= 1
|
2004-01-03 16:05:37 +01:00
|
|
|
CATEGORIES= net security
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
ftp://rusunix.org/pub/FreeBSD/distfiles/
|
|
|
|
MASTER_SITE_SUBDIR= silky
|
|
|
|
|
|
|
|
MAINTAINER= aquatique@rusunix.org
|
|
|
|
COMMENT= A simple and easy to use graphical, os-independent SILC client
|
|
|
|
|
2004-03-01 09:37:24 +01:00
|
|
|
LIB_DEPENDS= silcclient-1.0.3:${PORTSDIR}/devel/silc-toolkit
|
2004-01-03 16:05:37 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
CONFIGURE_ARGS= --with-silc-includes=${LOCALBASE}/include/silc \
|
|
|
|
--with-silc-libs=${LOCALBASE}/lib \
|
|
|
|
--with-docdir=${DOCSDIR}
|
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}"
|
|
|
|
CFLAGS+= ${PTHREAD_CFLAGS}
|
|
|
|
|
2004-01-03 21:52:11 +01:00
|
|
|
USE_GNOME= gtk20 libglade2
|
2004-01-03 16:05:37 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_PERL5= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e 's/ include / /' ${WRKSRC}/Makefile.in
|
|
|
|
@${PERL} -pi -e 's|/etc/|${LOCALBASE}/etc/|' ${WRKSRC}/src/main.c
|
|
|
|
@${PERL} -pi -e 's|share/pixmaps/\$${\w+}|share/pixmaps/|; \
|
|
|
|
s|(PACKAGE_PIXMAPS_DIR \")\$${packageprefix}/|\1${X11BASE}/|' \
|
|
|
|
${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|