svn commit: r338189 - head/chinese/srecite

Antoine Brodin antoine at FreeBSD.org
Mon Dec 30 22:37:51 UTC 2013


Author: antoine
Date: Mon Dec 30 22:37:50 2013
New Revision: 338189
URL: http://svnweb.freebsd.org/changeset/ports/338189

Log:
  Stage support

Modified:
  head/chinese/srecite/Makefile

Modified: head/chinese/srecite/Makefile
==============================================================================
--- head/chinese/srecite/Makefile	Mon Dec 30 22:26:04 2013	(r338188)
+++ head/chinese/srecite/Makefile	Mon Dec 30 22:37:50 2013	(r338189)
@@ -12,20 +12,18 @@ EXTRACT_ONLY=	${PORTNAME}-${PORTVERSION}
 		wordbooks-utf8.tar.gz
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	A tool for the Chinese people to study foreign language
+COMMENT=	Tool for the Chinese people to study foreign language
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib"
 CPPFLAGS+=	-I${LOCALBASE}/include
-USE_GMAKE=	yes
-USES=        pathfix
+USES=		gmake pathfix
 USE_GNOME=	gnomeprefix libgnomeui
 
 WORDBOOKS_PATH=	${PREFIX}/share/${PORTNAME}/wordbooks
 
-NO_STAGE=	yes
 post-install:
-	cd ${WRKDIR}/wordbooks && ${INSTALL_DATA} * ${WORDBOOKS_PATH}
-	${INSTALL_DATA} ${FILESDIR}/srecite.desktop ${PREFIX}/share/applications
+	${INSTALL_DATA} ${WRKDIR}/wordbooks/* ${STAGEDIR}${WORDBOOKS_PATH}
+	${INSTALL_DATA} ${FILESDIR}/srecite.desktop ${STAGEDIR}${PREFIX}/share/applications
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list