diff -urN /usr/ports/security/shishi/Makefile security/shishi/Makefile --- /usr/ports/security/shishi/Makefile Mon Apr 19 11:41:48 2004 +++ security/shishi/Makefile Mon Apr 19 20:07:38 2004 @@ -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 @@ 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 diff -urN /usr/ports/security/shishi/files/pkg-message.in security/shishi/files/pkg-message.in --- /usr/ports/security/shishi/files/pkg-message.in Thu Jan 1 09:00:00 1970 +++ security/shishi/files/pkg-message.in Mon Apr 19 19:51:16 2004 @@ -0,0 +1,7 @@ +================================================================= +NOTE: To finish installing this port, you need to execute the +following commands: + +# mkdir -m 0700 -p /var/shishi +# %%PREFIX%%/bin/shisa -a > %%PREFIX%%/etc/shishi/shishi.keys +================================================================= diff -urN /usr/ports/security/shishi/pkg-message security/shishi/pkg-message --- /usr/ports/security/shishi/pkg-message Mon Apr 19 11:41:48 2004 +++ security/shishi/pkg-message Thu Jan 1 09:00:00 1970 @@ -1,7 +0,0 @@ -================================================================= -NOTE: To finish installing this port, you need to execute the -following commands: - -# mkdir -m 0700 -p /var/shishi -# %%PREFIX%%/bin/shisa -a > %%PREFIX%%/etc/shishi/shishi.keys -=================================================================