From owner-svn-ports-all@FreeBSD.ORG Sun Sep 29 17:55:05 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AC57FBCA; Sun, 29 Sep 2013 17:55:05 +0000 (UTC) (envelope-from bsam@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7F10D20C7; Sun, 29 Sep 2013 17:55:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8THt5Sc050214; Sun, 29 Sep 2013 17:55:05 GMT (envelope-from bsam@svn.freebsd.org) Received: (from bsam@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8THt5Xt050211; Sun, 29 Sep 2013 17:55:05 GMT (envelope-from bsam@svn.freebsd.org) Message-Id: <201309291755.r8THt5Xt050211@svn.freebsd.org> From: Boris Samorodov Date: Sun, 29 Sep 2013 17:55:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328720 - in head/russian/d1489: . 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-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 17:55:05 -0000 Author: bsam Date: Sun Sep 29 17:55:04 2013 New Revision: 328720 URL: http://svnweb.freebsd.org/changeset/ports/328720 Log: Support staging. Added: head/russian/d1489/files/ head/russian/d1489/files/patch-Makefile (contents, props changed) Modified: head/russian/d1489/Makefile Modified: head/russian/d1489/Makefile ============================================================================== --- head/russian/d1489/Makefile Sun Sep 29 17:46:42 2013 (r328719) +++ head/russian/d1489/Makefile Sun Sep 29 17:55:04 2013 (r328720) @@ -10,8 +10,7 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Cp866<->koi8-r and cp1251<->koi8-r decoders, font converter (RFC1489) -MAKE_ARGS= PREFIX=${PREFIX} +MAKE_ARGS= PREFIX=${PREFIX} STAGEDIR=${STAGEDIR} PLIST_FILES= bin/a2kfcnv bin/fromdos bin/todos bin/fromwin bin/towin -NO_STAGE= yes .include Added: head/russian/d1489/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/russian/d1489/files/patch-Makefile Sun Sep 29 17:55:04 2013 (r328720) @@ -0,0 +1,29 @@ +--- Makefile.orig 2005-10-17 03:08:22.000000000 +0500 ++++ Makefile 2013-09-29 21:42:45.000000000 +0400 +@@ -24,6 +24,7 @@ + # SUCH DAMAGE. + + PREFIX=/usr/local ++DISTDIR=${STAGEDIR}${PREFIX} + LOCAL_CFLAGS=-O + #LOCAL_CFLAGS=-O -DNO_RENAME + LOCAL_LDFLAGS=-s +@@ -39,12 +40,12 @@ a2kfcnv: a2kfcnv.c koi82alt.h + a2kfcnv.c -o $@ + + install: todos a2kfcnv +- cp todos ${PREFIX}/bin +- -rm -f ${PREFIX}/bin/fromdos ${PREFIX}/bin/fromwin ${PREFIX}/bin/towin +- ln ${PREFIX}/bin/todos ${PREFIX}/bin/fromdos +- ln ${PREFIX}/bin/todos ${PREFIX}/bin/fromwin +- ln ${PREFIX}/bin/todos ${PREFIX}/bin/towin +- cp a2kfcnv ${PREFIX}/bin ++ cp todos ${DISTDIR}/bin ++ -rm -f ${DISTDIR}/bin/fromdos ${DISTDIR}/bin/fromwin ${DISTDIR}/bin/towin ++ ln -f ${PREFIX}/bin/todos ${DISTDIR}/bin/fromdos ++ ln -f ${PREFIX}/bin/todos ${DISTDIR}/bin/fromwin ++ ln -f ${PREFIX}/bin/todos ${DISTDIR}/bin/towin ++ cp a2kfcnv ${DISTDIR}/bin + + clean: + -rm -f todos a2kfcnv