Index: head/devel/fhist/Makefile =================================================================== --- head/devel/fhist/Makefile (revision 297071) +++ head/devel/fhist/Makefile (revision 297072) @@ -1,54 +1,66 @@ # New ports collection makefile for: fhist # Date created: Jan 05 2000 # Whom: # # $FreeBSD$ # PORTNAME= fhist -PORTVERSION= 1.17 -PORTREVISION= 1 +PORTVERSION= 1.19 CATEGORIES= devel -MASTER_SITES= SF +MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Utilities to maintain file history, do file comparisions and merges -GNU_CONFIGURE= yes -ALL_TARGET= binaries po -MAKE_JOBS_UNSAFE= yes +LICENSE= GPLv3 -MAN1= fcomp.1 fhist.1 fmerge.1 -PLIST_FILES= bin/fcomp bin/fhist bin/fmerge +LIB_DEPENDS= explain.45:${PORTSDIR}/devel/libexplain -CFLAGS+= -I${LOCALBASE}/include +OPTIONS= NLS "Native language support" on + +GNU_CONFIGURE= yes +ALL_TARGET= all-bin +MAKE_JOBS_UNSAFE=yes + CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.include +MAN1= fcomp.1 fhist.1 fmerge.1 +PLIST_FILES= bin/fcomp bin/fhist bin/fmerge +.include + .if defined(WITHOUT_NLS) -CONFIGURE_ARGS+= ac_cv_lib_intl_main=no +CONFIGURE_ENV+= ac_cv_lib_intl_main=no .else USE_GETTEXT= yes -PLIST_FILES+= share/locale/en/LC_MESSAGES/fcomp.mo \ - share/locale/en/LC_MESSAGES/fhist.mo \ - share/locale/en/LC_MESSAGES/fmerge.mo +.for file in fcomp fhist fmerge +PLIST_FILES+= share/locale/en/LC_MESSAGES/${file}.mo +.endfor .endif -post-extract: - cd ${WRKSRC}/lib/en/man1 && ${LN} -s ${WRKSRC}/etc/*.so . +post-patch: + @${REINPLACE_CMD} -e \ + 's|.a $$(LIBS)|.a $$(LDFLAGS) $$(LIBS)|' ${WRKSRC}/Makefile.in +post-build: +.for file in fcomp fhist fmerge +.if !defined(WITHOUT_NLS) + @(cd ${WRKSRC}/lib/en/LC_MESSAGES && ${LOCALBASE}/bin/msgfmt -o \ + ${file}.mo ${file}.po) +.endif +.endfor + do-install: -.for file in fhist fcomp 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) +.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/${file}.mo + ${PREFIX}/share/locale/en/LC_MESSAGES .endif .endfor -.include +.include Property changes on: head/devel/fhist/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.17 \ No newline at end of property +1.18 \ No newline at end of property Index: head/devel/fhist/distinfo =================================================================== --- head/devel/fhist/distinfo (revision 297071) +++ head/devel/fhist/distinfo (revision 297072) @@ -1,2 +1,2 @@ -SHA256 (fhist-1.17.tar.gz) = e1e06a095913e9d9afc2deb89f646d96dd03d2d832669018f3cc519fffb98e1e -SIZE (fhist-1.17.tar.gz) = 401116 +SHA256 (fhist-1.19.tar.gz) = f1bffa44b4252d88c70e208a813aad8fac2d668b43e8e1cb6e823d89a4f4e265 +SIZE (fhist-1.19.tar.gz) = 409075 Property changes on: head/devel/fhist/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.11 \ No newline at end of property +1.12 \ No newline at end of property