1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/deskutils/babytrans/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

40 lines
916 B
Makefile

# ex:ts=8
# New ports collection makefile for: babytrans
# Date created: 18 September 2002
# Whom: Frederic Cambus
#
# $FreeBSD$
#
PORTNAME= babytrans
PORTVERSION= 0.9.1
PORTREVISION= 10
CATEGORIES= deskutils
MASTER_SITES= http://fjolliton.free.fr/babytrans/
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK+/GNOME front-end for Babylon Translator .dic files
USE_GETTEXT= yes
USE_GNOME= gtk12 gnomehack gnomeprefix
GNU_CONFIGURE= yes
CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_GMAKE= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
post-patch:
.for file in de es fr pt_BR
@${REINPLACE_CMD} -e "s|CHARSET|ISO-8859-1|" \
-e "s|ENCODING|8bit|" ${WRKSRC}/po/${file}.po
.endfor
post-install:
@${MKDIR} ${DATADIR}
@${MKDIR} ${PREFIX}/share/applets/Utility
${INSTALL_DATA} ${WRKSRC}/config-file/dictionary ${DATADIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>