View | Details | Raw Unified | Return to bug 172509
Collapse All | Expand All

(-)sysutils/am-utils/Makefile (-18 / +27 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for:   am-utils
1
# Created by: Jon Wilson <jon@phuq.co.uk>
2
# Date created:        2 November 2004
3
# Whom:                Jon Wilson <jon@phuq.co.uk>
4
#
5
# $FreeBSD: ports/sysutils/am-utils/Makefile,v 1.13 2010/12/04 07:33:33 ade Exp $
2
# $FreeBSD: ports/sysutils/am-utils/Makefile,v 1.13 2010/12/04 07:33:33 ade Exp $
6
#
7
3
8
PORTNAME=	am-utils
4
PORTNAME=	am-utils
9
PORTVERSION=	6.1.5
5
PORTVERSION=	6.1.5
Lines 11-41 Link Here
11
CATEGORIES=	sysutils net
7
CATEGORIES=	sysutils net
12
MASTER_SITES=	ftp://ftp.am-utils.org/pub/am-utils/ \
8
MASTER_SITES=	ftp://ftp.am-utils.org/pub/am-utils/ \
13
		ftp://ftp.cs.umn.edu/pub/am-utils/ \
9
		ftp://ftp.cs.umn.edu/pub/am-utils/ \
14
		ftp://ftp.cise.ufl.edu/pub/mirrors/am-utils/ \
10
		ftp://ftp.u-aizu.ac.jp/pub/net/amd/am-utils/ \
15
		ftp://sunsite.org.uk/package/am-utils/ \
11
		RINGSERVER/net/am-utils
16
		ftp://ftp.u-aizu.ac.jp/pub/net/amd/am-utils/
17
12
18
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
19
COMMENT=	The Berkeley Automounter Suite of Utilities
14
COMMENT=	The Berkeley Automounter Suite of Utilities
20
15
21
USE_LDCONFIG=	yes
16
LICENSE=	BSD
17
LICENSE_FILE=	${WRKSRC}/COPYING
18
19
OPTIONS_DEFINE=	OPENLDAP DOCS
20
OPTIONS_DEFAULT=OPENLDAP
21
OPENLDAP_DESC=	OpenLDAP support
22
22
USE_AUTOTOOLS=	libtool
23
USE_AUTOTOOLS=	libtool
24
USE_LDCONFIG=	yes
25
MAKE_JOBS_UNSAFE=yes
26
27
MAN1=		expn.1 pawd.1
28
MAN5=		amd.conf.5
29
MAN8=		amd.8 amq.8 automount2amd.8 fixmount.8 fsinfo.8 hlfsd.8 \
30
		mk-amd-map.8 wire-test.8
31
INFO=		am-utils
32
PORTDOCS=	AUTHORS BUGS FAQ NEWS README.attrcache
23
33
24
PORTDOCS=	AUTHORS BUGS COPYING FAQ NEWS README.attrcache
34
.include <bsd.port.options.mk>
25
35
26
.if defined(WITH_OPENLDAP) || defined(PACKAGE_BUILDING)
36
.if ${PORT_OPTIONS:MOPENLDAP}
27
USE_OPENLDAP=	yes
37
USE_OPENLDAP=	yes
28
CONFIGURE_ARGS+=	--with-ldap=yes --enable-ldflags=-L${LOCALBASE}/lib --enable-cppflags=-I${LOCALBASE}/include
38
CONFIGURE_ARGS+=--with-ldap=yes \
39
		--enable-ldflags=-L${LOCALBASE}/lib \
40
		--enable-cppflags=-I${LOCALBASE}/include
29
PORTDOCS+=	README.ldap ldap-id.txt ldap.schema
41
PORTDOCS+=	README.ldap ldap-id.txt ldap.schema
42
.else
43
CONFIGURE_ARGS+=--with-ldap=no
30
.endif
44
.endif
31
45
32
INFO=		am-utils
33
MAN1=		expn.1 pawd.1
34
MAN5=		amd.conf.5
35
MAN8=		amd.8 amq.8 automount2amd.8 fixmount.8 fsinfo.8 hlfsd.8 mk-amd-map.8 wire-test.8
36
37
post-install:
46
post-install:
38
.if !defined(NOPORTDOCS)
47
.if ${PORT_OPTIONS:MDOCS}
39
	@${MKDIR} ${DOCSDIR}
48
	@${MKDIR} ${DOCSDIR}
40
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
49
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
41
.endif
50
.endif

Return to bug 172509