diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-09-18 01:36:41 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-09-18 01:36:41 +0800 |
commit | 6f26ad51e9213e898930f85a01dacd7c9c8ba4bb (patch) | |
tree | 4a3a49cd2cbdf052639e94695e0c6c17122ab595 /editors/poedit/Makefile | |
parent | 705fd7eacfcd8aae5f987455f0d41eef5b038dfb (diff) | |
download | freebsd-ports-gnome-6f26ad51e9213e898930f85a01dacd7c9c8ba4bb.tar.gz freebsd-ports-gnome-6f26ad51e9213e898930f85a01dacd7c9c8ba4bb.tar.zst freebsd-ports-gnome-6f26ad51e9213e898930f85a01dacd7c9c8ba4bb.zip |
upgrade to 1.10
PR: 42895
Submitted by: Ports Fury
Diffstat (limited to 'editors/poedit/Makefile')
-rw-r--r-- | editors/poedit/Makefile | 44 |
1 files changed, 15 insertions, 29 deletions
diff --git a/editors/poedit/Makefile b/editors/poedit/Makefile index 873bb82ab711..6a783a208ef2 100644 --- a/editors/poedit/Makefile +++ b/editors/poedit/Makefile @@ -7,46 +7,32 @@ # PORTNAME= poedit -PORTVERSION= 1.1.8 -PORTREVISION= 3 +PORTVERSION= 1.1.10 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -#PATCH_SITES= ${MASTER_SITES} -#PATCHFILES= poedit-1.1.5-wxwin-2.3.1.patch MAINTAINER= ports@FreeBSD.org BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip -LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext \ - wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk-devel \ - db3.3:${PORTSDIR}/databases/db3 +LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3 \ + intl.4:${PORTSDIR}/devel/gettext \ + wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk-devel -PATCH_DIST_ARGS= -d ${PATCH_WRKSRC} -E ${PATCH_DIST_STRIP} -p1 -USE_REINPLACE= yes USE_X_PREFIX= yes -WANT_GNOME= yes -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ - LIBS="-L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}" -CONFIGURE_ARGS= --datadir=${PREFIX}/share +USE_REINPLACE= yes USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" -MAN1= poedit.1 - -.include <bsd.port.pre.mk> +CPPFLAGS= -I${LOCALBASE}/include/db3 -I${LOCALBASE}/include \ + ${PTHREAD_CFLAGS} +LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -.if defined(HAVE_GNOME) -USE_GNOME= yes -.else -CONFIGURE_ARGS+= --without-gnome -.endif +MAN1= poedit.1 -pre-patch: - @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ - s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure - @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \ - s|\$$(datadir)/locale|\$$(prefix)/share/locale|g' +post-patch: + @${REINPLACE_CMD} -e 's|db-3.1;|db-3.1 db3;|g ; \ + s|-O3||g' ${WRKSRC}/configure -.include <bsd.port.post.mk> +.include <bsd.port.mk> |