1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/devel/gtranslator/Makefile
Adam Weinberger 005311198f Correct the some hardcoded paths that rendered the application
useless for anything except browsing uncompiled po files.
2004-02-19 22:58:22 +00:00

37 lines
981 B
Makefile

# New ports collection makefile for: gtranslator
# Date created: 16 September 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gtranslator
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= devel gnome
MASTER_SITES= http://www.gtranslator.org/download/releases/${PORTVERSION}/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A GNOME application for developing ".pot" files used with GNU Gettext
USE_X_PREFIX= yes
USE_GNOME= gnomehack 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
USE_REINPLACE= yes
MAN1= gtranslator.1 pozilla.sh.1
MANCOMPRESSED= yes
post-patch:
@${REINPLACE_CMD} -e "s|/usr/share/gtranslator|${DATADIR}|g; \
s|/usr/share/pixmaps|${PREFIX}/share/gnome/pixmaps|g" \
${WRKSRC}/src/defines.h
.include <bsd.port.mk>