aboutsummaryrefslogtreecommitdiff
path: root/security/shishi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/shishi/Makefile')
-rw-r--r--security/shishi/Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/security/shishi/Makefile b/security/shishi/Makefile
index f54cd0bf599f..561807b1fb82 100644
--- a/security/shishi/Makefile
+++ b/security/shishi/Makefile
@@ -2,7 +2,7 @@
PORTNAME= shishi
PORTVERSION= 1.0.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= GNU
@@ -14,13 +14,13 @@ LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn \
libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libgnutls.so:${PORTSDIR}/security/gnutls
-USE_AUTOTOOLS= libtool
+USES= iconv libtool makeinfo pathfix perl5 pkgconfig
+USE_LDCONFIG= yes
USE_PERL5= build
-USES= pathfix pkgconfig iconv perl5 makeinfo
GNU_CONFIGURE= yes
-CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= --with-db-dir=/var/shishi
-USE_LDCONFIG= yes
+MAKE_ENV= MAKEINFOFLAGS=--no-split
+INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
@@ -32,8 +32,7 @@ INFO= shishi
SUB_FILES= pkg-message
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-MAKE_ARGS= LD_LIBRARY_PATH="${STAGEDIR}${PREFIX}/lib:${LOCALBASE}/lib:/usr/lib"
+LIBS+= -L${LOCALBASE}/lib
post-extract:
@${RM} -f ${WRKSRC}/doc/shishi.info*
@@ -47,9 +46,4 @@ post-patch:
@${REINPLACE_CMD} -e '/^AM_CPPFLAGS/s:-I[^ ]*/gl ::g' \
${WRKSRC}/examples/Makefile.in
-post-install:
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libshishi.so \
- ${STAGEDIR}${PREFIX}/lib/libshisa.so \
- ${STAGEDIR}${PREFIX}/lib/security/pam_shishi.so
-
.include <bsd.port.mk>