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

(-)security/shishi/Makefile (-8 / +14 lines)
Lines 8-13 Link Here
8
8
9
PORTNAME=	shishi
9
PORTNAME=	shishi
10
PORTVERSION=	0.0.15
10
PORTVERSION=	0.0.15
11
PORTREVISION=	1
11
CATEGORIES=	security
12
CATEGORIES=	security
12
MASTER_SITES=	http://josefsson.org/${PORTNAME}/releases/
13
MASTER_SITES=	http://josefsson.org/${PORTNAME}/releases/
13
14
Lines 15-49 Link Here
15
COMMENT=	A free implementation of the Kerberos 5 network security system
16
COMMENT=	A free implementation of the Kerberos 5 network security system
16
17
17
LIB_DEPENDS=	idn.13:${PORTSDIR}/devel/libidn \
18
LIB_DEPENDS=	idn.13:${PORTSDIR}/devel/libidn \
19
		gcrypt.10:${PORTSDIR}/security/libgcrypt-devel \
18
		tasn1.2:${PORTSDIR}/security/libtasn1
20
		tasn1.2:${PORTSDIR}/security/libtasn1
19
21
22
PKGMESSAGE=	${WRKDIR}/pkg-message
23
20
USE_PERL5_BUILD=	yes
24
USE_PERL5_BUILD=	yes
21
USE_GNOME=	gnomehack gnometarget pkgconfig
25
USE_GNOME=	gnomehack gnometarget pkgconfig
22
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
23
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
27
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
24
		LDFLAGS="-L${LOCALBASE}/lib" \
28
		LDFLAGS="-L${LOCALBASE}/lib" \
25
		MAKEINFO="makeinfo --no-split"
29
		MAKEINFO="makeinfo --no-split"
26
CONFIGURE_ARGS=	--without-libgcrypt --disable-starttls \
30
CONFIGURE_ARGS=	--disable-starttls \
27
		--with-db-dir=/var/shishi
31
		--with-db-dir=/var/shishi
28
INSTALLS_SHLIB=	yes
32
INSTALLS_SHLIB=	yes
29
33
30
INFO=		shishi
34
INFO=		shishi
31
35
32
.if !defined(WITHOUT_NLS)
36
.if defined(WITHOUT_NLS)
37
CONFIGURE_ARGS+=	--disable-nls
38
PLIST_SUB+=	NLS="@comment "
39
.else
33
USE_GETTEXT=	yes
40
USE_GETTEXT=	yes
34
PLIST_SUB+=	NLS=""
41
PLIST_SUB+=	NLS=""
35
.else
36
CONFIGURE_ARGS+=--disable-nls
37
PLIST_SUB+=	NLS="@comment "
38
.endif
42
.endif
39
43
40
SED_SCRIPT+=	-e 's,%%PREFIX%%,${PREFIX},g'
41
42
post-extract:
44
post-extract:
43
	@${RM} -f ${WRKSRC}/doc/shishi.info*
45
	@${RM} -f ${WRKSRC}/doc/shishi.info*
44
46
47
post-patch:
48
	@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
49
		${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
50
45
post-install:
51
post-install:
46
	@${SED} ${SED_SCRIPT} < ${PKGMESSAGE}
52
	@${CAT} ${PKGMESSAGE}
47
53
48
.include "Makefile.man"
54
.include "Makefile.man"
49
.include <bsd.port.mk>
55
.include <bsd.port.mk>
(-)security/shishi/files/pkg-message.in (+7 lines)
Line 0 Link Here
1
=================================================================
2
NOTE: To finish installing this port, you need to execute the
3
following commands:
4
5
# mkdir -m 0700 -p /var/shishi
6
# %%PREFIX%%/bin/shisa -a > %%PREFIX%%/etc/shishi/shishi.keys
7
=================================================================
(-)security/shishi/pkg-message (-7 lines)
Lines 1-7 Link Here
1
=================================================================
2
NOTE: To finish installing this port, you need to execute the
3
following commands:
4
5
# mkdir -m 0700 -p /var/shishi
6
# %%PREFIX%%/bin/shisa -a > %%PREFIX%%/etc/shishi/shishi.keys
7
=================================================================

Return to bug 65996