svn commit: r368507 - in head/german/dict: . files

Antoine Brodin antoine at FreeBSD.org
Thu Sep 18 19:10:37 UTC 2014


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>


More information about the svn-ports-head mailing list