summaryrefslogtreecommitdiffstats
path: root/security/shishi
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-28 20:17:43 +0000
committerkrion <krion@FreeBSD.org>2004-04-28 20:17:43 +0000
commit94e38871f35aef0ab4de46007dd8e6b9147233db (patch)
treeee788dd67b1d49e09824528193bcabfd8c5f7422 /security/shishi
parentc1e762a835bd5c549b6d4defc84cf82fb5cc34a6 (diff)
downloadFreeBSD-ports-94e38871f35aef0ab4de46007dd8e6b9147233db.zip
FreeBSD-ports-94e38871f35aef0ab4de46007dd8e6b9147233db.tar.gz
- Fix LIB_DEPENDS
- Fix handling PKGMESSAGE PR: ports/65996 Submitted by: Ports Fury
Diffstat (limited to 'security/shishi')
-rw-r--r--security/shishi/Makefile22
-rw-r--r--security/shishi/files/pkg-message.in (renamed from security/shishi/pkg-message)0
2 files changed, 14 insertions, 8 deletions
diff --git a/security/shishi/Makefile b/security/shishi/Makefile
index 99bd364..7b96af5 100644
--- a/security/shishi/Makefile
+++ b/security/shishi/Makefile
@@ -8,6 +8,7 @@
PORTNAME= shishi
PORTVERSION= 0.0.15
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://josefsson.org/${PORTNAME}/releases/
@@ -15,35 +16,40 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A free implementation of the Kerberos 5 network security system
LIB_DEPENDS= idn.13:${PORTSDIR}/devel/libidn \
+ gcrypt.10:${PORTSDIR}/security/libgcrypt-devel \
tasn1.2:${PORTSDIR}/security/libtasn1
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
USE_PERL5_BUILD= yes
USE_GNOME= gnomehack gnometarget pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
MAKEINFO="makeinfo --no-split"
-CONFIGURE_ARGS= --without-libgcrypt --disable-starttls \
+CONFIGURE_ARGS= --disable-starttls \
--with-db-dir=/var/shishi
INSTALLS_SHLIB= yes
INFO= shishi
-.if !defined(WITHOUT_NLS)
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
.endif
-SED_SCRIPT+= -e 's,%%PREFIX%%,${PREFIX},g'
-
post-extract:
@${RM} -f ${WRKSRC}/doc/shishi.info*
+post-patch:
+ @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
+ ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
+
post-install:
- @${SED} ${SED_SCRIPT} < ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include "Makefile.man"
.include <bsd.port.mk>
diff --git a/security/shishi/pkg-message b/security/shishi/files/pkg-message.in
index a70c92f..a70c92f 100644
--- a/security/shishi/pkg-message
+++ b/security/shishi/files/pkg-message.in
OpenPOWER on IntegriCloud