88c67cd38c
- Patch libtool so it uses the same library version specification as on Darwin, Linux and other systems. Given the version current:revision:age a library will be given the extension .so.major.age.revision with major equal to current-age. Before libtool would use .so.current on FreeBSD. - Patch libtoolize to remove two cases of umask 0 that caused libltdl files to be copied world writable (--ltdl option) - Let USES=libtool patch this new version correctly - Adjust all ports with USES=libtool:build and bump PORTREVISION on their dependent ports if a library version changed PR: 194068 Exp-run by: antoine Approved by: portmgr (antoine)
33 lines
1 KiB
Makefile
33 lines
1 KiB
Makefile
# Created by: Dale Woolridge <dale.woolridge@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ucspi-proxy
|
|
PORTVERSION= 0.98
|
|
PORTREVISION= 2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://untroubled.org/ucspi-proxy/
|
|
|
|
MAINTAINER= dale.woolridge@gmail.com
|
|
COMMENT= Proxy program for UCSPI servers and clients
|
|
|
|
LIB_DEPENDS= libbg.so:${PORTSDIR}/devel/bglibs
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
BGLIBS_LIB= ${LOCALBASE}/lib/bglibs
|
|
BGLIBS_INCLUDE= ${LOCALBASE}/include/bglibs
|
|
|
|
PLIST_FILES= bin/ucspi-proxy bin/ucspi-proxy-log bin/ucspi-proxy-pop3 \
|
|
bin/ucspi-proxy-imap bin/ucspi-proxy-http-xlate \
|
|
man/man1/ucspi-proxy-http-xlate.1.gz \
|
|
man/man1/ucspi-proxy.1.gz
|
|
|
|
do-configure:
|
|
${ECHO_CMD} "${STAGEDIR}${PREFIX}/bin" > ${WRKSRC}/conf-bin
|
|
${ECHO_CMD} "${STAGEDIR}${MANPREFIX}/man" > ${WRKSRC}/conf-man
|
|
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
|
|
${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
|
|
${ECHO_CMD} "${BGLIBS_INCLUDE}" > ${WRKSRC}/conf-bgincs
|
|
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs
|
|
|
|
.include <bsd.port.mk>
|