1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/chinese/srecite/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

34 lines
915 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= 10
CATEGORIES= chinese textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/SRecite-${PORTVERSION}
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= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
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>