svn commit: r368125 - head/misc/pinfo
Tijl Coosemans
tijl at FreeBSD.org
Sat Sep 13 18:23:09 UTC 2014
Author: tijl
Date: Sat Sep 13 18:23:08 2014
New Revision: 368125
URL: http://svnweb.freebsd.org/changeset/ports/368125
QAT: https://qat.redports.org/buildarchive/r368125/
Log:
- Convert to USES=libtool
- Run autopoint to install gettext related build scripts
Modified:
head/misc/pinfo/Makefile
Modified: head/misc/pinfo/Makefile
==============================================================================
--- head/misc/pinfo/Makefile Sat Sep 13 18:11:36 2014 (r368124)
+++ head/misc/pinfo/Makefile Sat Sep 13 18:23:08 2014 (r368125)
@@ -13,16 +13,14 @@ COMMENT= Ncurses based, lynx style info
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= makeinfo ncurses tar:bzip2
+USES= libtool makeinfo ncurses tar:bzip2
USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf
-LIBTOOLIZE_ARGS=--force
ACLOCAL_ARGS= -I macros
AUTOMAKE_ARGS= --add-missing --force-missing
CONFIGURE_ARGS= --with-localedir=${PREFIX}/share/locale
-CFLAGS+= -DHAVE_LOCALE_H
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+LIBS+= -L${LOCALBASE}/lib
INFO= pinfo
PLIST_FILES= bin/pinfo etc/pinforc man/man1/pinfo.1.gz
@@ -44,13 +42,7 @@ USES+= gettext:build
CONFIGURE_ARGS+=--disable-nls
.endif
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|@MKINSTALLDIRS@|$$(top_srcdir)/tools/install-sh -d|' \
- ${WRKSRC}/po/Makefile.in.in
-
pre-configure:
- @${MKDIR} ${WRKSRC}/tools
- @${LN} -sf ${LOCALBASE}/share/gettext/config.rpath ${WRKSRC}/tools
+ @(cd ${WRKSRC} && ${LOCALBASE}/bin/autopoint -f)
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list