Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2014 00:43:07 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354588 - in head/chinese/docproj: . src/cjktexsty
Message-ID:  <201405200043.s4K0h78v075865@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Tue May 20 00:43:07 2014
New Revision: 354588
URL: http://svnweb.freebsd.org/changeset/ports/354588
QAT: https://qat.redports.org/buildarchive/r354588/

Log:
  Make it possible to stage without privilege.
  
  No PORTREVISION bump because this does not change results
  of the build.
  
  Reported by:	Andrzej Tobola <ato iem pw edu pl>

Modified:
  head/chinese/docproj/Makefile
  head/chinese/docproj/src/cjktexsty/Makefile

Modified: head/chinese/docproj/Makefile
==============================================================================
--- head/chinese/docproj/Makefile	Mon May 19 22:58:14 2014	(r354587)
+++ head/chinese/docproj/Makefile	Tue May 20 00:43:07 2014	(r354588)
@@ -23,7 +23,7 @@ USES=	iconv
 WRKSRC=		${WRKDIR}/src
 
 SRC=		${.CURDIR}/src
-MAKE_ARGS+=	PREFIX=${PREFIX} LOCALBASE=${LOCALBASE}
+MAKE_ARGS+=	PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} INSTALL_PROGRAM="${INSTALL_PROGRAM}"
 
 PLIST_FILES=	bin/cjktexsty
 

Modified: head/chinese/docproj/src/cjktexsty/Makefile
==============================================================================
--- head/chinese/docproj/src/cjktexsty/Makefile	Mon May 19 22:58:14 2014	(r354587)
+++ head/chinese/docproj/src/cjktexsty/Makefile	Tue May 20 00:43:07 2014	(r354588)
@@ -11,4 +11,9 @@ LDADD=		-L${LOCALBASE}/lib -liconv
 NO_MAN=
 NOMAN=
 
+.if defined(BSD_INSTALL_PROGRAM)
+install:
+	${BSD_INSTALL_PROGRAM} ${PROG} ${DESTDIR}${BINDIR}/${PROGNAME}
+.endif
+
 .include <bsd.prog.mk>



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