blob: 86e59cde951c45aecd5ac9377d3515dcd192838d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# $FreeBSD$
PORTNAME= shishi
PORTVERSION= 1.0.1
PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= GNU
MAINTAINER= johans@FreeBSD.org
COMMENT= A free implementation of the Kerberos 5 network security system
LIB_DEPENDS= idn:${PORTSDIR}/dns/libidn \
tasn1:${PORTSDIR}/security/libtasn1 \
gcrypt:${PORTSDIR}/security/libgcrypt \
gnutls:${PORTSDIR}/security/gnutls
USE_AUTOTOOLS= libtool
USE_PERL5_BUILD= yes
USE_GNOME= gnomehack pkgconfig
USE_ICONV= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= --with-db-dir=/var/shishi
USE_LDCONFIG= yes
INFO= shishi
SUB_FILES= pkg-message
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include "Makefile.man"
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800000
CONFIGURE_ARGS+= gl_cv_func_stat_dir_slash="guessing yes" \
gl_cv_func_stat_file_slash="guessing yes"
.endif
post-extract:
@${RM} -f ${WRKSRC}/doc/shishi.info*
@cd ${WRKSRC}/db/gl && ${LN} -s ../../build-aux/link-warning.h
post-patch:
@${REINPLACE_CMD} -e 's/$$(LINK_WARNING_H)/link-warning.h/' \
${WRKSRC}/db/gl/Makefile.in
@${REINPLACE_CMD} -e 's:\.\./gl/libgnu.la:../db/gl/libgnu.la &:' \
${WRKSRC}/src/Makefile.in
.include <bsd.port.post.mk>
|