- Update to 1.19

PR:		168026
Submitted by:	Ports Fury
This commit is contained in:
Martin Wilke 2012-05-21 03:10:05 +00:00
parent 90c22c44a4
commit 13086e28d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297072
2 changed files with 39 additions and 27 deletions

View file

@ -6,49 +6,61 @@
# #
PORTNAME= fhist PORTNAME= fhist
PORTVERSION= 1.17 PORTVERSION= 1.19
PORTREVISION= 1
CATEGORIES= devel CATEGORIES= devel
MASTER_SITES= SF MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Utilities to maintain file history, do file comparisions and merges COMMENT= Utilities to maintain file history, do file comparisions and merges
LICENSE= GPLv3
LIB_DEPENDS= explain.45:${PORTSDIR}/devel/libexplain
OPTIONS= NLS "Native language support" on
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
ALL_TARGET= binaries po ALL_TARGET= all-bin
MAKE_JOBS_UNSAFE= yes MAKE_JOBS_UNSAFE=yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= fcomp.1 fhist.1 fmerge.1 MAN1= fcomp.1 fhist.1 fmerge.1
PLIST_FILES= bin/fcomp bin/fhist bin/fmerge PLIST_FILES= bin/fcomp bin/fhist bin/fmerge
CFLAGS+= -I${LOCALBASE}/include .include <bsd.port.options.mk>
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
.if defined(WITHOUT_NLS) .if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= ac_cv_lib_intl_main=no CONFIGURE_ENV+= ac_cv_lib_intl_main=no
.else .else
USE_GETTEXT= yes USE_GETTEXT= yes
PLIST_FILES+= share/locale/en/LC_MESSAGES/fcomp.mo \ .for file in fcomp fhist fmerge
share/locale/en/LC_MESSAGES/fhist.mo \ PLIST_FILES+= share/locale/en/LC_MESSAGES/${file}.mo
share/locale/en/LC_MESSAGES/fmerge.mo .endfor
.endif .endif
post-extract: post-patch:
cd ${WRKSRC}/lib/en/man1 && ${LN} -s ${WRKSRC}/etc/*.so . @${REINPLACE_CMD} -e \
's|.a $$(LIBS)|.a $$(LDFLAGS) $$(LIBS)|' ${WRKSRC}/Makefile.in
do-install: post-build:
.for file in fhist fcomp fmerge .for file in fcomp fhist fmerge
${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/bin/${file}
(cd ${WRKSRC}/lib/en/man1; soelim ${file}.1 > tmp; \
${INSTALL_MAN} tmp ${PREFIX}/man/man1/${file}.1)
.if !defined(WITHOUT_NLS) .if !defined(WITHOUT_NLS)
@${MKDIR} ${PREFIX}/share/locale/en/LC_MESSAGES @(cd ${WRKSRC}/lib/en/LC_MESSAGES && ${LOCALBASE}/bin/msgfmt -o \
${INSTALL_DATA} ${WRKSRC}/lib/en/LC_MESSAGES/${file}.mo \ ${file}.mo ${file}.po)
${PREFIX}/share/locale/en/LC_MESSAGES/${file}.mo
.endif .endif
.endfor .endfor
.include <bsd.port.post.mk> do-install:
.for file in fcomp fhist fmerge
${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/lib/en/man1/${file}.1 ${MANPREFIX}/man/man1
.if !defined(WITHOUT_NLS)
@${MKDIR} ${PREFIX}/share/locale/en/LC_MESSAGES
${INSTALL_DATA} ${WRKSRC}/lib/en/LC_MESSAGES/${file}.mo \
${PREFIX}/share/locale/en/LC_MESSAGES
.endif
.endfor
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (fhist-1.17.tar.gz) = e1e06a095913e9d9afc2deb89f646d96dd03d2d832669018f3cc519fffb98e1e SHA256 (fhist-1.19.tar.gz) = f1bffa44b4252d88c70e208a813aad8fac2d668b43e8e1cb6e823d89a4f4e265
SIZE (fhist-1.17.tar.gz) = 401116 SIZE (fhist-1.19.tar.gz) = 409075