svn commit: r328720 - in head/russian/d1489: . files
Boris Samorodov
bsam at FreeBSD.org
Sun Sep 29 17:55:05 UTC 2013
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 at 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 <bsd.port.mk>
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
More information about the svn-ports-head
mailing list