freebsd-ports/security/shishi/Makefile
Tijl Coosemans f1655c7b7a dns/libidn:
- Add USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
- Always install libidn-components.png because it is used by libidn.info
- Add -lintl to Libs.private instead of Libs in libidn.pc
2014-08-30 18:18:14 +00:00

49 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= shishi
PORTVERSION= 1.0.2
PORTREVISION= 7
CATEGORIES= security
MASTER_SITES= GNU
MAINTAINER= johans@FreeBSD.org
COMMENT= Free implementation of the Kerberos 5 network security system
LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn \
libtasn1.so:${PORTSDIR}/security/libtasn1 \
libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libgnutls.so:${PORTSDIR}/security/gnutls
USES= iconv libtool makeinfo pathfix perl5 pkgconfig
USE_LDCONFIG= yes
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-db-dir=/var/shishi
MAKE_ENV= MAKEINFOFLAGS=--no-split
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
INFO= shishi
SUB_FILES= pkg-message
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
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
@${REINPLACE_CMD} -e '/^AM_CPPFLAGS/s:-I[^ ]*/gl ::g' \
${WRKSRC}/examples/Makefile.in
.include <bsd.port.mk>