svn commit: r354588 - in head/chinese/docproj: . src/cjktexsty
Xin LI
delphij at FreeBSD.org
Tue May 20 00:43:08 UTC 2014
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>
More information about the svn-ports-head
mailing list