diff options
author | chinsan <chinsan@FreeBSD.org> | 2008-09-07 15:07:28 +0800 |
---|---|---|
committer | chinsan <chinsan@FreeBSD.org> | 2008-09-07 15:07:28 +0800 |
commit | bbd7d59d13a77598b1bd5d852ce21d1b8360f54a (patch) | |
tree | f4feb2671fcb55b67c1aed4228729d5b23034c75 /graphics/gscan2pdf/Makefile | |
parent | 1fad82409bbf9d0f3f0ff26778d06135d2e37648 (diff) | |
download | freebsd-ports-gnome-bbd7d59d13a77598b1bd5d852ce21d1b8360f54a.tar.gz freebsd-ports-gnome-bbd7d59d13a77598b1bd5d852ce21d1b8360f54a.tar.zst freebsd-ports-gnome-bbd7d59d13a77598b1bd5d852ce21d1b8360f54a.zip |
- Update to 0.9.24
- Use NLS macro
- Take maintainership
Diffstat (limited to 'graphics/gscan2pdf/Makefile')
-rw-r--r-- | graphics/gscan2pdf/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/graphics/gscan2pdf/Makefile b/graphics/gscan2pdf/Makefile index 2ae11d743e28..1e21c72af58c 100644 --- a/graphics/gscan2pdf/Makefile +++ b/graphics/gscan2pdf/Makefile @@ -6,12 +6,11 @@ # PORTNAME= gscan2pdf -PORTVERSION= 0.9.23 -PORTREVISION= 2 +PORTVERSION= 0.9.24 CATEGORIES= graphics MASTER_SITES= SFE -MAINTAINER= ports@FreeBSD.org +MAINTAINER= chinsan@FreeBSD.org COMMENT= Produce PDF from scanned documents RUN_DEPENDS= p5-PDF-API2>=0.57:${PORTSDIR}/textproc/p5-PDF-API2 \ @@ -29,13 +28,23 @@ RUN_DEPENDS= p5-PDF-API2>=0.57:${PORTSDIR}/textproc/p5-PDF-API2 \ p5-gettext>=1.05:${PORTSDIR}/devel/p5-Locale-gettext # xdg-email:${PORTSDIR}/devel/xdg-utils -USE_GETTEXT= yes USE_GMAKE= yes USE_GNOME= librsvg2 PERL_CONFIGURE= yes MAN1= ${PORTNAME}.1 PORT_VERBS= ${PORTNAME} Gscan2pdf +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + post-patch: @${REINPLACE_CMD} -e 's/--parents/-p/g;s|$$sharedir/man|${MANPREFIX}/man|g;s|1p|1|g'\ -e '/SITEPREFIX/s|/usr|${PREFIX}|' ${WRKSRC}/Makefile.PL |