freebsd-ports/sysutils/ucspi-proxy/Makefile
Martin Wilke aa6f23e8f9 - Update to 0.97
PR:		ports/107749
Submitted by:	miwi
Approved by:	maintainer
2007-01-12 21:57:46 +00:00

36 lines
1.1 KiB
Makefile

# New ports collection makefile for: ucspi-proxy
# Date created: 15 November 2005
# Whom: Dale Woolridge <dale.woolridge@gmail.com>
#
# $FreeBSD$
#
PORTNAME= ucspi-proxy
PORTVERSION= 0.97
CATEGORIES= sysutils
MASTER_SITES= http://untroubled.org/ucspi-proxy/
MAINTAINER= dale.woolridge@gmail.com
COMMENT= A proxy program for UCSPI servers and clients
BUILD_DEPENDS= ${BGLIBS_LIB}/libbg-unix.a:${PORTSDIR}/devel/bglibs
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -s -L${LOCALBASE}/lib
BGLIBS_LIB= ${LOCALBASE}/lib/bglibs
BGLIBS_INCLUDE= ${LOCALBASE}/include/bglibs
MAN1= ucspi-proxy-http-xlate.1 ucspi-proxy.1
PLIST_FILES= bin/ucspi-proxy bin/ucspi-proxy-log bin/ucspi-proxy-pop3 \
bin/ucspi-proxy-imap bin/ucspi-proxy-http-xlate
do-configure:
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${BGLIBS_INCLUDE}" > ${WRKSRC}/conf-bgincs
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs
.include <bsd.port.mk>