1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/net/ss5/Makefile
Tijl Coosemans 37f54e0f66 net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD

databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip

databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample

databases/libgdamm:
- Drop :keepla
- USES=tar:bzip2
- Use INSTALL_TARGET=install-strip

databases/libgdamm5:
- Add INSTALL_TARGET=install-strip
- Drop --enable-static (inherited from old repocopy)

devel/anjuta x11-toolkits/py-gnome-extras:
- Drop :keepla

dns/powerdns dns/powerdns-devel:
- Convert to USES=libtool
- Add INSTALL_TARGET=install-strip
- Disable static modules
- Stop creating library symlinks with .0 suffix, not needed for dynamically
  opened modules

mail/dovecot2:
- Add USES=libtool

mail/dovecot2-pigeonhole:
- Drop CONFIGURE_TARGET (incorrect for Dragonfly)
- Add USES=libtool and INSTALL_TARGET=install-strip

math/gnumeric:
- USES=libtool tar:xz

Approved by:	portmgr (implicit, bump unstaged ports)
2014-07-24 18:34:16 +00:00

43 lines
1.2 KiB
Makefile

# Created by: Raffaele De Lorenzo - raffaele.delorenzo@libero.it
# $FreeBSD$
PORTNAME= ss5
PORTVERSION= 3.8.5
PORTREVISION= 2
CATEGORIES= net security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}-1
DISTNAME= ${PORTNAME}-${PORTVERSION}-1
MAINTAINER= raffaele.delorenzo@libero.it
COMMENT= SOCKS v4/v5 application layer gateway with many features
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_OPENLDAP= yes
USE_RC_SUBR= ${PORTNAME}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-binpathbase=${PREFIX}/sbin \
--with-docpathbase=${PREFIX}/share/doc \
--with-confpathbase=${PREFIX}/etc \
--with-libpath=${PREFIX}/lib
MAKE_ENV= DATADIR=${DATADIR} EXAMPLESDIR=${EXAMPLESDIR}
MAKE_ARGS+= CC="${CC}"
CFLAGS+= -DLDAP_DEPRECATED
post-patch:
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's,/usr/local/etc/opt/ss5,${PREFIX}/etc/ss5,' \
${WRKSRC}/include/config.h.in
post-install:
${INSTALL_DATA} ${WRKSRC}/conf/ss5.conf \
${STAGEDIR}${PREFIX}/etc/ss5/ss5.conf.sample
${INSTALL_DATA} ${WRKSRC}/conf/ss5.ha \
${STAGEDIR}${PREFIX}/etc/ss5/ss5.ha.sample
${INSTALL_DATA} ${WRKSRC}/conf/ss5.passwd \
${STAGEDIR}${PREFIX}/etc/ss5/ss5.passwd.sample
.include <bsd.port.mk>