freebsd-ports/sysutils/am-utils/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

57 lines
1.3 KiB
Makefile

# Created by: Jon Wilson <jon@phuq.co.uk>
# $FreeBSD$
PORTNAME= am-utils
PORTVERSION= 6.1.5
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= sysutils net
MASTER_SITES= ftp://ftp.am-utils.org/pub/am-utils/ \
ftp://ftp.cs.umn.edu/pub/am-utils/ \
ftp://ftp.u-aizu.ac.jp/pub/net/amd/am-utils/ \
RINGSERVER/net/am-utils
MAINTAINER= ports@FreeBSD.org
COMMENT= The Berkeley Automounter Suite of Utilities
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS_DEFINE= OPENLDAP DOCS
OPTIONS_DEFAULT=OPENLDAP
OPENLDAP_DESC= OpenLDAP support
USES= libtool makeinfo
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE=yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
MAKE_ENV= MAKEINFOFLAGS=--no-split
INFO= am-utils
DOCS= AUTHORS BUGS FAQ NEWS README.attrcache
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENLDAP}
USE_OPENLDAP= yes
CONFIGURE_ARGS+=--with-ldap=yes \
--enable-ldflags=-L${LOCALBASE}/lib \
--enable-cppflags=-I${LOCALBASE}/include
DOCS+= README.ldap ldap-id.txt ldap.schema
PLIST_SUB+= LDAP_DOC=""
.else
PLIST_SUB+= LDAP_DOC="@comment "
CONFIGURE_ARGS+=--with-ldap=no
.endif
post-patch:
@${RM} ${WRKSRC}/doc/am-utils.info*
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>