1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/news/nntpcache/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

68 lines
1.8 KiB
Makefile

# Created by: proff@suburbia.net
# $FreeBSD$
PORTNAME= nntpcache
PORTVERSION= 3.0.2
PORTREVISION= 9
CATEGORIES= news
MASTER_SITES= http://www.xs4all.nl/~suelette/
MAINTAINER= leeym@FreeBSD.org
COMMENT= News caching/anti-spam/server-merging system
USE_AUTOTOOLS= automake:env
# This may be set interactively at install-time. NNTPCache will
# cache news articles and related data in ${SPOOLDIR}/nntpcache.
SPOOLDIR?= /var/spool
NO_CDROM= Free for individuals and non-military, non-profit organisations only
USES= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=${SPOOLDIR}
AUTHINFO_EXT= authinfo_pam.ext
USE_RC_SUBR= nntpcached
OPTIONS_DEFINE= LDAP RADIUS SPAMPHOBIA
SPAMPHOBIA_DESC= Spamphobia NoCeM support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MRADIUS}
CONFIGURE_ARGS+= --with-authinfo-radius
AUTHINFO_EXT+= authinfo_radius.ext
.endif
.if ${PORT_OPTIONS:MLDAP} || defined(WITH_LDAP2)
USE_OPENLDAP= yes
CONFIGURE_ARGS+= --with-authinfo-ldap
CPPFLAGS+= -I${PREFIX}/include -I${LOCALBASE}/include
LDFLAGS+= -L${PREFIX}/lib -L${LOCALBASE}/lib
AUTHINFO_EXT+= authinfo_ldap.ext
.endif
CONFIGURE_ARGS+= --program-transform-name=''
NNTPSPOOLDIR?= ${SPOOLDIR}/${PORTNAME}
PLIST_SUB+= SPOOLDIR=${NNTPSPOOLDIR}
CPIO_CMD= ${CPIO} --quiet -pdum -R
MAN8= nntpcached.8 newshound.8
PORTDOCS= AUTHORS ChangeLog FAQ FAQ.html HACKING HTML \
INSTALL LICENSING NEWS README README.INN VERSION
.if ${PORT_OPTIONS:MSPAMPHOBIA}
REVISEDATE= 20060903
PATCH_SITES+= http://people.freebsd.org/~leeym/:SPAMPHOBIA
PATCHFILES+= ${DISTNAME}-spamphobia-${REVISEDATE}.diff.gz:SPAMPHOBIA
.endif
post-configure:
${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} -C ${WRKSRC}/src ${AUTHINFO_EXT}
post-install:
@ ${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${FIND} ${PORTDOCS} \
| ${CPIO_CMD} ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>