1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/devel/gtranslator/Makefile
Adam Weinberger b0e5117a2c Update to 1.1.4. It is technically a development release, but its functionality
is so greatly improved from the 1.0 version that it's senseless not to merge it
now. Especially as it's not clear when another release is even coming...
2004-05-16 02:49:25 +00:00

39 lines
1.1 KiB
Makefile

# New ports collection makefile for: gtranslator
# Date created: 16 September 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gtranslator
PORTVERSION= 1.1.4
PORTREVISION= 3
CATEGORIES= devel gnome
MASTER_SITES= http://www.gtranslator.org/download/releases/${PORTVERSION}/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= gnome@FreeBSD.org
COMMENT= A GNOME application for creating GNU gettext translation files
USE_X_PREFIX= yes
USE_GNOME= gnomehack intlhack gnomeprefix gnometarget gnomevfs2 libgnomeui
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lgnuregex"
CONFIGURE_ARGS= --disable-debug \
--enable-compile-warnings=no
USE_REINPLACE= yes
MAN1= gtranslator.1 pozilla.sh.1
MANCOMPRESSED= yes
post-patch:
@${REINPLACE_CMD} -e "s|/usr/local/share/gtranslator|${PREFIX}/share/gnome/${PORTNAME}|g; \
s|/usr/local/share/pixmaps|${PREFIX}/share/gnome/pixmaps|g" \
${WRKSRC}/src/defines.h
@${REINPLACE_CMD} -e "s|-Werror||" ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>