Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2014 01:24:33 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356278 - head/lang/librep
Message-ID:  <201406030124.s531OXcx043091@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Jun  3 01:24:32 2014
New Revision: 356278
URL: http://svnweb.freebsd.org/changeset/ports/356278
QAT: https://qat.redports.org/buildarchive/r356278/

Log:
  - Convert USE_XZ to USES
  - Switch to USES=libtool, drop .la files
  - Strip libraries
  - Fix broken shebang

Modified:
  head/lang/librep/Makefile
  head/lang/librep/pkg-plist

Modified: head/lang/librep/Makefile
==============================================================================
--- head/lang/librep/Makefile	Tue Jun  3 01:22:17 2014	(r356277)
+++ head/lang/librep/Makefile	Tue Jun  3 01:24:32 2014	(r356278)
@@ -3,6 +3,7 @@
 
 PORTNAME=	librep
 PORTVERSION=	0.92.3
+PORTREVISION=	1
 CATEGORIES=	lang elisp gnome
 MASTER_SITES=	http://download.tuxfamily.org/librep/%SUBDIR%/
 MASTER_SITE_SUBDIR=	. Archive
@@ -19,11 +20,14 @@ RUN_DEPENDS=	gtar:${PORTSDIR}/archivers/
 
 USE_CSTD=	gnu89
 
-USE_XZ=		yes
-USES=		gettext pathfix pkgconfig readline gmake
-USE_AUTOTOOLS=	libtool
+USES=		gettext gmake libtool pathfix pkgconfig readline tar:xz shebangfix
+GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-aclocaldir=${PREFIX}/share/aclocal \
 		--with-stack-direction=-1
+SHEBANG_FILES=	${WRKSRC}/src/rep-xgettext.jl
+SHEBANG_LANG=	rep
+rep_OLD_CMD=	/usr/bin/rep
+rep_CMD?=	${PREFIX}/bin/rep
 USE_LDCONFIG=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
@@ -43,4 +47,7 @@ post-patch:
 	@${REINPLACE_CMD} -e \
 		's|/share/man/|/man/|g' ${WRKSRC}/man/Makefile.in
 
+pre-install:
+	${FIND} ${WRKSRC} -name "*.so" -exec ${STRIP_CMD} {} \;
+
 .include <bsd.port.post.mk>

Modified: head/lang/librep/pkg-plist
==============================================================================
--- head/lang/librep/pkg-plist	Tue Jun  3 01:22:17 2014	(r356277)
+++ head/lang/librep/pkg-plist	Tue Jun  3 01:24:32 2014	(r356278)
@@ -9,67 +9,49 @@ include/rep/rep_lisp.h
 include/rep/rep_regexp.h
 include/rep/rep_subrs.h
 lib/librep.a
-lib/librep.la
 lib/librep.so
 lib/librep.so.16
+lib/librep.so.16.0.0
 lib/rep/doc-strings
 lib/rep/emulate-gnu-tar
 lib/rep/gdbm.a
-lib/rep/gdbm.la
 lib/rep/gdbm.so
 lib/rep/gettext.a
-lib/rep/gettext.la
 lib/rep/gettext.so
 lib/rep/install-aliases
 lib/rep/libtool
 lib/rep/readline.a
-lib/rep/readline.la
 lib/rep/readline.so
 lib/rep/rep/data/tables.a
-lib/rep/rep/data/tables.la
 lib/rep/rep/data/tables.so
 lib/rep/rep/ffi.a
-lib/rep/rep/ffi.la
 lib/rep/rep/ffi.so
 lib/rep/rep/i18n/gettext.a
-lib/rep/rep/i18n/gettext.la
 lib/rep/rep/i18n/gettext.so
 lib/rep/rep/io/db/gdbm.a
-lib/rep/rep/io/db/gdbm.la
 lib/rep/rep/io/db/gdbm.so
 lib/rep/rep/io/db/sdbm.a
-lib/rep/rep/io/db/sdbm.la
 lib/rep/rep/io/db/sdbm.so
 lib/rep/rep/io/readline.a
-lib/rep/rep/io/readline.la
 lib/rep/rep/io/readline.so
 lib/rep/rep/io/sockets.a
-lib/rep/rep/io/sockets.la
 lib/rep/rep/io/sockets.so
 lib/rep/rep/io/timers.a
-lib/rep/rep/io/timers.la
 lib/rep/rep/io/timers.so
 lib/rep/rep/lang/record-profile.a
-lib/rep/rep/lang/record-profile.la
 lib/rep/rep/lang/record-profile.so
 lib/rep/rep/util/md5.a
-lib/rep/rep/util/md5.la
 lib/rep/rep/util/md5.so
 lib/rep/rep/util/utf8.a
-lib/rep/rep/util/utf8.la
 lib/rep/rep/util/utf8.so
 lib/rep/rep/vm/safe-interpreter.a
-lib/rep/rep/vm/safe-interpreter.la
 lib/rep/rep/vm/safe-interpreter.so
 lib/rep/rules.mk
 lib/rep/sdbm.a
-lib/rep/sdbm.la
 lib/rep/sdbm.so
 lib/rep/tables.a
-lib/rep/tables.la
 lib/rep/tables.so
 lib/rep/timers.a
-lib/rep/timers.la
 lib/rep/timers.so
 libdata/pkgconfig/librep.pc
 share/emacs/site-lisp/rep-debugger.el



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406030124.s531OXcx043091>