1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

- 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)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-09-14 16:32:56 +00:00
parent e8c9833a08
commit c2884fae01
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327300

View File

@ -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/