f935a609c5
supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run
37 lines
973 B
Makefile
37 lines
973 B
Makefile
# New ports collection makefile for: gtranslator
|
|
# Date created: 16 September 2000
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gtranslator
|
|
PORTVERSION= 1.1.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel gnome
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= A GNOME application for creating GNU gettext translation files
|
|
|
|
LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell
|
|
|
|
USE_XLIB= yes
|
|
USE_BZIP2= yes
|
|
USE_GNOME= gnomehack intlhack gnomeprefix gnometarget gnomevfs2 libgnomeui
|
|
USE_GMAKE= yes
|
|
USE_GETTEXT= yes
|
|
INSTALLS_OMF= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -lgnuregex"
|
|
CONFIGURE_ARGS= --disable-debug \
|
|
--enable-compile-warnings=no
|
|
|
|
MAN1= gtranslator.1 pozilla.sh.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|-Werror||" ${WRKSRC}/src/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|