aboutsummaryrefslogtreecommitdiff
path: root/security/kc
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-09-14 16:32:56 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-09-14 16:32:56 +0000
commitc2884fae017cf41aa17f4dea9ef66a9f58b4f5b3 (patch)
treec2503b817efbeeed1fbe27f9e641e824377976fd /security/kc
parente8c9833a0892373a08312030bfd06272a4f2c467 (diff)
downloadports-c2884fae017cf41aa17f4dea9ef66a9f58b4f5b3.tar.gz
ports-c2884fae017cf41aa17f4dea9ef66a9f58b4f5b3.zip
- Fix build
- While I'm here: - Pet portlint: move USES downward - Convert to new LIB_DEPENDS format PR: ports/182096 Submitted by: LEVAI Daniel <leva@ecentrum.hu> (maintainer)
Notes
Notes: svn path=/head/; revision=327300
Diffstat (limited to 'security/kc')
-rw-r--r--security/kc/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/security/kc/Makefile b/security/kc/Makefile
index 385a2abee643..ca03346ff738 100644
--- a/security/kc/Makefile
+++ b/security/kc/Makefile
@@ -11,11 +11,12 @@ COMMENT= Console based password storing application
LICENSE= BSD
-USES= pkgconfig
-LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 \
- pcre:${PORTSDIR}/devel/pcre
+LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 \
+ libpcre.so:${PORTSDIR}/devel/pcre
RUN_DEPENDS= p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser
+USES= pkgconfig
+
MAN1= kc.1
MANCOMPRESSED= yes
@@ -25,6 +26,9 @@ PLIST_FILES= bin/kc \
MAKE_ENV+= HAVE_PCRE=yes
+post-patch:
+ @${REINPLACE_CMD} -e 's|pkg-config|${LOCALBASE}/bin/pkgconf|' ${WRKSRC}/Makefile
+
post-install:
${INSTALL} -d ${PREFIX}/share/kc
${INSTALL} ${WRKSRC}/pwsafe_to_kc.pl ${PREFIX}/share/kc/