blob: 21a38f54572d1c28a3caec16cf29c9df139c8b1d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# 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= 2
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>
|