mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
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
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: poedit
|
|
# Date created: Mar 27, 2001
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
# $MCom: ports/editors/poedit/Makefile,v 1.2 2006/10/05 07:03:09 mezz Exp $
|
|
#
|
|
|
|
PORTNAME= poedit
|
|
PORTVERSION= 1.3.7
|
|
CATEGORIES= editors
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Gettext catalogs (.po files) editor
|
|
|
|
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
|
|
LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell
|
|
|
|
USE_GNOME= gnometarget pkgconfig
|
|
USE_WX= 2.6
|
|
WX_CONF_ARGS= absolute
|
|
WX_UNICODE= yes
|
|
USE_BDB= yes
|
|
WITH_BDB_HIGHEST= yes
|
|
USE_GETTEXT= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
|
|
WXRC="${WXRC_CMD}"
|
|
INSTALLS_ICONS= yes
|
|
|
|
MAN1= poedit.1
|
|
|
|
CPPFLAGS= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS= -L${BDB_LIB_DIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's/for version in .*;/for version in ${BDB_VER};/ ; \
|
|
s/-ldb-$$version/-l${BDB_LIB_NAME}/' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|