aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-12-31 06:37:50 +0800
committerantoine <antoine@FreeBSD.org>2013-12-31 06:37:50 +0800
commit8588c9d658e10a0299138cbe8aea7269ac4905dd (patch)
treeeafdb819070bb64d1aa7f00107333a830146c4b5 /chinese
parent2444446f49d746f5e3efae848c3d2e6dcb0ba755 (diff)
downloadfreebsd-ports-gnome-8588c9d658e10a0299138cbe8aea7269ac4905dd.tar.gz
freebsd-ports-gnome-8588c9d658e10a0299138cbe8aea7269ac4905dd.tar.zst
freebsd-ports-gnome-8588c9d658e10a0299138cbe8aea7269ac4905dd.zip
Stage support
Diffstat (limited to 'chinese')
-rw-r--r--chinese/srecite/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/chinese/srecite/Makefile b/chinese/srecite/Makefile
index bd3fc02512bc..395ccaed65af 100644
--- a/chinese/srecite/Makefile
+++ b/chinese/srecite/Makefile
@@ -12,20 +12,18 @@ EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
wordbooks-utf8.tar.gz
MAINTAINER= ports@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>