freebsd-ports/security/pidgin-encryption/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

50 lines
1.3 KiB
Makefile

# New ports collection makefile for: gaim-encryption
# Date created: 2004-05-01
# Whom: ports@c0decafe.net
#
# $FreeBSD$
#
PORTNAME= encryption
PORTVERSION= 2.38
PORTREVISION= 3
CATEGORIES= security net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}
PKGNAMEPREFIX= gaim-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@c0decafe.net
COMMENT= Provides transparent RSA encryption as a Gaim plugin
BUILD_DEPENDS= ${X11BASE}/include/gaim/config.h:${PORTSDIR}/net-im/gaim
RUN_DEPENDS= gaim:${PORTSDIR}/net-im/gaim
LIB_DEPENDS= nss3:${PORTSDIR}/security/nss
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gtk20
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-nspr-includes=${LOCALBASE}/include/nspr \
--with-nspr-libs=${LOCALBASE}/lib \
--with-nss-includes=${LOCALBASE}/include/nss/nss \
--with-nss-libs=${LOCALBASE}/lib
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE}
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "WARNING: make sure net-im/gaim is built with NSS support (it is, by default)"
@${ECHO_MSG} ""
@${ECHO_MSG} ""
.include <bsd.port.mk>