freebsd-ports/finance/grisbi/Makefile
Rong-En Fan f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
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
2007-07-23 09:36:51 +00:00

52 lines
1.1 KiB
Makefile

# New ports collection makefile for: grisbi
# Date created: 19 November 2002
# Whom: Thierry Thomas <thierry@pompo.net>
#
# $FreeBSD$
#
PORTNAME= grisbi
PORTVERSION= 0.5.9
PORTREVISION= 1
CATEGORIES= finance
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= thierry@FreeBSD.org
COMMENT= A personnal accounting application
LIB_DEPENDS= ofx.3:${PORTSDIR}/finance/libofx
.if !defined(WITHOUT_LATEX)
RUN_DEPENDS= ${UCS_CLASSDIR}/ucs.sty:${PORTSDIR}/print/latex-ucs
.endif
USE_BZIP2= yes
USE_ICONV= yes
USE_GMAKE= yes
USE_GCC= 3.4
GNU_CONFIGURE= yes
USE_GNOME= gtk20 glib20 libxml2
TEXMF?= share/texmf-local
UCS_CLASSDIR= ${LOCALBASE}/${TEXMF}/tex/latex/ucs
MAN1= grisbi.1
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
pre-configure:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e "s|pixmaps help|pixmaps|" ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>