From owner-svn-ports-head@FreeBSD.ORG Thu Mar 27 16:41:03 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D261DC1F; Thu, 27 Mar 2014 16:41:03 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B320C837; Thu, 27 Mar 2014 16:41:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2RGf3SS070426; Thu, 27 Mar 2014 16:41:03 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2RGf3vE070422; Thu, 27 Mar 2014 16:41:03 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201403271641.s2RGf3vE070422@svn.freebsd.org> From: Pawel Pekala Date: Thu, 27 Mar 2014 16:41:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349345 - in head/devel/dprog: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2014 16:41:04 -0000 Author: pawel Date: Thu Mar 27 16:41:02 2014 New Revision: 349345 URL: http://svnweb.freebsd.org/changeset/ports/349345 QAT: https://qat.redports.org/buildarchive/r349345/ Log: - Add staging support - Remove leading article from COMMENT - Convert to new LIB_DEPENDS format - Remove Install prefix from option description - Run ranlib on library prior to installing it, this allows non-root staging solving write permission error Modified: head/devel/dprog/Makefile head/devel/dprog/files/patch-Makefile.in Modified: head/devel/dprog/Makefile ============================================================================== --- head/devel/dprog/Makefile Thu Mar 27 16:34:38 2014 (r349344) +++ head/devel/dprog/Makefile Thu Mar 27 16:41:02 2014 (r349345) @@ -8,9 +8,9 @@ CATEGORIES= devel MASTER_SITES= http://www.daimi.au.dk/~mailund/dprog/download/ MAINTAINER= ports@FreeBSD.org -COMMENT= A language for specifying dynamic programming algorithms +COMMENT= Language for specifying dynamic programming algorithms -LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt +LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt GNU_CONFIGURE= yes CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include @@ -18,21 +18,11 @@ LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= EMACS OPTIONS_DEFAULT= EMACS -EMACS_DESC= Install emacs syntax files - -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MEMACS} -PLIST_SUB+= EMACS="" -.else -PLIST_SUB+= EMACS="@comment " -.endif +OPTIONS_SUB= yes +EMACS_DESC= Emacs syntax files post-install: -.if ${PORT_OPTIONS:MEMACS} - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/elisp/*.el ${DATADIR} -.endif + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/elisp/*.el ${STAGEDIR}${DATADIR} .include Modified: head/devel/dprog/files/patch-Makefile.in ============================================================================== --- head/devel/dprog/files/patch-Makefile.in Thu Mar 27 16:34:38 2014 (r349344) +++ head/devel/dprog/files/patch-Makefile.in Thu Mar 27 16:41:02 2014 (r349345) @@ -1,5 +1,5 @@ ---- Makefile.in.orig Mon Apr 21 20:29:07 2003 -+++ Makefile.in Tue Apr 6 09:05:17 2004 +--- Makefile.in.orig 2003-04-21 14:29:07.000000000 +0200 ++++ Makefile.in 2014-03-27 17:32:22.000000000 +0100 @@ -87,7 +87,7 @@ ARCH = `uname -mrs` DATE = `date '+%d %h %y'` @@ -18,3 +18,19 @@ cxx_dprog_test_SOURCES = cxx_dprog_test.cc symbol_checking_test_SOURCES = ast.hh ast.cc visitor.hh pretty_printer.hh pretty_printer.cc symbol_checking.hh symbol_checking.cc type_checking.hh type_checking.cc functions.hh functions.cc codegen.hh codegen.cc cxx_codegen.hh cxx_codegen.cc options.hh options.cc symbol_checking_test.cc +@@ -315,6 +315,7 @@ + @list='$(lib_LIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ ++ $(RANLIB) $$p; \ + echo " $(libLIBRARIES_INSTALL) $$p $(DESTDIR)$(libdir)/$$f"; \ + $(libLIBRARIES_INSTALL) $$p $(DESTDIR)$(libdir)/$$f; \ + else :; fi; \ +@@ -324,7 +325,6 @@ + if test -f $$p; then \ + p="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \ +- $(RANLIB) $(DESTDIR)$(libdir)/$$p; \ + else :; fi; \ + done +