aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-07-07 23:40:55 +0800
committertijl <tijl@FreeBSD.org>2014-07-07 23:40:55 +0800
commitd39f2de609788e94b919fe722dcac7cbd4aad7d5 (patch)
tree57b21c79cffc69f37357c5b3f302c13b2b5d568a /security
parent9e96fd661934ee98b1870928e3aa29d425623286 (diff)
downloadfreebsd-ports-gnome-d39f2de609788e94b919fe722dcac7cbd4aad7d5.tar.gz
freebsd-ports-gnome-d39f2de609788e94b919fe722dcac7cbd4aad7d5.tar.zst
freebsd-ports-gnome-d39f2de609788e94b919fe722dcac7cbd4aad7d5.zip
- Convert to USES=libtool
- Set MAKEINFOFLAGS instead of MAKEINFO - Add INSTALL_TARGET=install-strip
Diffstat (limited to 'security')
-rw-r--r--security/shishi/Makefile18
-rw-r--r--security/shishi/pkg-plist9
2 files changed, 10 insertions, 17 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>
diff --git a/security/shishi/pkg-plist b/security/shishi/pkg-plist
index da27e1640b45..9cf592d58d53 100644
--- a/security/shishi/pkg-plist
+++ b/security/shishi/pkg-plist
@@ -11,15 +11,14 @@ include/shisa.h
include/shishi-int.h
include/shishi.h
lib/libshisa.a
-lib/libshisa.la
lib/libshisa.so
-lib/libshisa.so.1
+lib/libshisa.so.0
+lib/libshisa.so.0.1.2
lib/libshishi.a
-lib/libshishi.la
lib/libshishi.so
-lib/libshishi.so.1
+lib/libshishi.so.0
+lib/libshishi.so.0.1.2
lib/security/pam_shishi.so
-lib/security/pam_shishi.la
libdata/pkgconfig/shishi.pc
man/man1/ccache2shishi.1.gz
man/man1/keytab2shishi.1.gz