090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
33 lines
871 B
Makefile
33 lines
871 B
Makefile
# Ports collection makefile for: srecite
|
|
# Date created: 28 Oct 2004
|
|
# Whom: hamigua <hamigua@cuc.cn>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= srecite
|
|
PORTVERSION= 0.6.2
|
|
PORTREVISION= 7
|
|
CATEGORIES= chinese textproc
|
|
MASTER_SITES= SF
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
|
|
wordbooks-utf8.tar.gz
|
|
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
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
USE_GMAKE= yes
|
|
USE_GNOME= gnomehack gnomeprefix libgnomeui
|
|
|
|
WORDBOOKS_PATH= ${PREFIX}/share/${PORTNAME}/wordbooks
|
|
|
|
post-install:
|
|
cd ${WRKDIR}/wordbooks && ${INSTALL_DATA} * ${WORDBOOKS_PATH}
|
|
${INSTALL_DATA} ${FILESDIR}/srecite.desktop ${PREFIX}/share/applications
|
|
|
|
.include <bsd.port.mk>
|