Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2014 19:10:37 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368507 - in head/german/dict: . files
Message-ID:  <201409181910.s8IJAbD3006311@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Thu Sep 18 19:10:36 2014
New Revision: 368507
URL: http://svnweb.freebsd.org/changeset/ports/368507
QAT: https://qat.redports.org/buildarchive/r368507/

Log:
  Allow staging as a regular user

Deleted:
  head/german/dict/files/
Modified:
  head/german/dict/Makefile

Modified: head/german/dict/Makefile
==============================================================================
--- head/german/dict/Makefile	Thu Sep 18 19:09:50 2014	(r368506)
+++ head/german/dict/Makefile	Thu Sep 18 19:10:36 2014	(r368507)
@@ -15,6 +15,7 @@ LICENSE=	BSD2CLAUSE
 
 RUN_DEPENDS=	agrep:${PORTSDIR}/textproc/agrep
 
+NO_BUILD=	yes
 PLIST_FILES=	bin/de-dict share/ger-eng.txt
 dict=		ger-eng.txt
 
@@ -23,4 +24,8 @@ post-extract: ${dict}
 ${dict}:
 	${GZCAT} < ${DISTDIR}/${dict}.gz > ${WRKSRC}/${.TARGET}
 
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/dict.sh ${STAGEDIR}${PREFIX}/bin/de-dict
+	${INSTALL_DATA} ${WRKSRC}/ger-eng.txt ${STAGEDIR}${PREFIX}/share
+
 .include <bsd.port.mk>



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