mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
f478e04261
PR: ports/106890 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu> Approved by: erwin (mentor)
57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
# New ports collection makefile for: jabber
|
|
# Date created: 5 February 2001
|
|
# Whom: joe
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jabber
|
|
PORTVERSION= 1.4.3.1
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= net-im ipv6
|
|
MASTER_SITES= http://download.jabberd.org/jabberd14/
|
|
DISTNAME= ${PORTNAME}d-${PORTVERSION}
|
|
DIST_SUBDIR= jabber
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Online presence and instant messaging server
|
|
|
|
LIB_DEPENDS= pth.20:${PORTSDIR}/devel/pth \
|
|
expat.6:${PORTSDIR}/textproc/expat2
|
|
|
|
USE_RC_SUBR= jabberd.sh
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_OPENSSL= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-ssl
|
|
|
|
OPTIONS= IPV6 "Enable IPv6 support" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_IPV6)
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
.endif
|
|
|
|
#JABDIR= ${PORTNAME}-${PORTVERSION}
|
|
# Save this data for use later: jabber doesn't have an install target
|
|
# or a sane set of defaults.
|
|
post-patch:
|
|
${ECHO} "${WRKSRC}" > ${WRKSRC}/.wrksrc-freebsd
|
|
${ECHO} "${PREFIX}" > ${WRKSRC}/.prefix-freebsd
|
|
${ECHO} "${INSTALL_DATA}" > ${WRKSRC}/.install_data-freebsd
|
|
${ECHO} "${INSTALL_SCRIPT}" > ${WRKSRC}/.install_script-freebsd
|
|
${ECHO} "${INSTALL_PROGRAM}" > ${WRKSRC}/.install_program-freebsd
|
|
|
|
post-configure:
|
|
${REINPLACE_CMD} -e "s#-I\. -I\.\. #-I\. -I\.\. -I${LOCALBASE}/include #" \
|
|
-e "s#-L/usr/lib#-L/usr/lib -L${LOCALBASE}/lib#" \
|
|
${WRKSRC}/platform-settings
|
|
|
|
post-install:
|
|
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.post.mk>
|