2000-09-16 16:17:19 +02:00
|
|
|
# New ports collection makefile for: gtranslator
|
|
|
|
# Date created: 16 September 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gtranslator
|
2004-02-20 20:09:26 +01:00
|
|
|
PORTVERSION= 1.0.1
|
2000-09-16 16:17:19 +02:00
|
|
|
CATEGORIES= devel gnome
|
2004-02-20 20:09:26 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2000-09-16 16:17:19 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2004-02-20 23:06:02 +01:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
|
|
COMMENT= A GNOME application for creating GNU gettext translation files
|
2000-09-16 16:17:19 +02:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2004-02-21 01:21:51 +01:00
|
|
|
USE_GNOME= gnomehack intlhack gnomeprefix gnometarget gnomevfs2 libgnomeui
|
2000-09-16 16:17:19 +02:00
|
|
|
USE_GMAKE= yes
|
2003-09-04 18:58:31 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -lgnuregex"
|
2004-02-25 19:16:18 +01:00
|
|
|
CONFIGURE_ARGS= --disable-debug \
|
|
|
|
--enable-compile-warnings=no
|
2004-02-19 23:58:22 +01:00
|
|
|
USE_REINPLACE= yes
|
2000-09-16 16:17:19 +02:00
|
|
|
|
2001-09-10 12:27:55 +02:00
|
|
|
MAN1= gtranslator.1 pozilla.sh.1
|
2001-02-25 22:17:08 +01:00
|
|
|
MANCOMPRESSED= yes
|
2000-09-16 16:17:19 +02:00
|
|
|
|
2004-02-19 23:58:22 +01:00
|
|
|
post-patch:
|
2004-02-20 20:09:26 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|/usr/local/share/gtranslator|${PREFIX}/share/gnome/${PORTNAME}|g; \
|
|
|
|
s|/usr/local/share/pixmaps|${PREFIX}/share/gnome/pixmaps|g" \
|
2004-02-19 23:58:22 +01:00
|
|
|
${WRKSRC}/src/defines.h
|
2004-03-05 15:34:11 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|-Werror||" ${WRKSRC}/src/Makefile.in
|
2004-02-19 23:58:22 +01:00
|
|
|
|
2000-09-16 16:17:19 +02:00
|
|
|
.include <bsd.port.mk>
|