Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2014 04:58:18 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r358068 - in head/japanese/jstrings: . files
Message-ID:  <201406170458.s5H4wIcY044103@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Tue Jun 17 04:58:17 2014
New Revision: 358068
URL: http://svnweb.freebsd.org/changeset/ports/358068
QAT: https://qat.redports.org/buildarchive/r358068/

Log:
  Stagify.
  
  Approved by:	portmgr@

Added:
  head/japanese/jstrings/files/patch-makefile.gcc   (contents, props changed)
Modified:
  head/japanese/jstrings/Makefile

Modified: head/japanese/jstrings/Makefile
==============================================================================
--- head/japanese/jstrings/Makefile	Tue Jun 17 02:42:57 2014	(r358067)
+++ head/japanese/jstrings/Makefile	Tue Jun 17 04:58:17 2014	(r358068)
@@ -13,16 +13,13 @@ COMMENT=	Japanese enhancement of strings
 
 EXTRACT_DEPENDS=nkf:${PORTSDIR}/japanese/nkf
 
-MAN1=		jstrings.1
-MANLANG=	ja
-PLIST_FILES=	bin/jstrings
+PLIST_FILES=	bin/jstrings man/ja/man1/jstrings.1.gz
 
 USES=		gmake lha
 MAKEFILE=	makefile.gcc
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" BINDIR="${PREFIX}/bin"
 ALL_TARGET=	jstrings
 
-NO_STAGE=	yes
 post-extract:
 	@${ECHO_MSG} "===>  Converting Kanji code and deleting CR for ${DISTNAME}"
 	@(cd ${WRKSRC}; \
@@ -32,6 +29,6 @@ post-extract:
 	done)
 
 post-install:
-	${INSTALL_MAN} ${FILESDIR}/jstrings.1 ${PREFIX}/man/${MANLANG}/man1
+	${INSTALL_MAN} ${FILESDIR}/jstrings.1 ${STAGEDIR}${PREFIX}/man/ja/man1
 
 .include <bsd.port.mk>

Added: head/japanese/jstrings/files/patch-makefile.gcc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/japanese/jstrings/files/patch-makefile.gcc	Tue Jun 17 04:58:17 2014	(r358068)
@@ -0,0 +1,12 @@
+--- makefile.gcc.orig	2014-06-17 12:55:14.919735947 +0800
++++ makefile.gcc	2014-06-17 12:55:31.502732890 +0800
+@@ -36,7 +36,7 @@ utilstr.o : utilstr.c utilstr.h
+ eucjp.o : eucjp.c eucjp.h jstrings.h vstr.h ascii.h jis.h
+ 
+ install : $(TARGET)
+-	cp $(TARGET) $(BINDIR)/$(TARGET)
+-	strip $(BINDIR)/$(TARGET)
++	cp $(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET)
++	strip $(DESTDIR)$(BINDIR)/$(TARGET)
+ 	echo "Copy jstrings.txt as man page if you need."
+ 



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