diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-09-15 00:32:56 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-09-15 00:32:56 +0800 |
commit | 4d779ac518b933673b2a944099edd352d73ffe01 (patch) | |
tree | c2503b817efbeeed1fbe27f9e641e824377976fd /security/kc | |
parent | b40ddb47888edc6f00b424365c5ae32998562406 (diff) | |
download | freebsd-ports-gnome-4d779ac518b933673b2a944099edd352d73ffe01.tar.gz freebsd-ports-gnome-4d779ac518b933673b2a944099edd352d73ffe01.tar.zst freebsd-ports-gnome-4d779ac518b933673b2a944099edd352d73ffe01.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)
Diffstat (limited to 'security/kc')
-rw-r--r-- | security/kc/Makefile | 10 |
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/ |