blob: e29912a5c49cd0aee577abc6b48e1909d8731dd9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# New ports collection makefile for: gscan2pdf
# Date created: 4 September 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gscan2pdf
PORTVERSION= 0.8.3
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Produce PDF from scanned documents
RUN_DEPENDS= tiff2pdf:${PORTSDIR}/graphics/tiff \
scanimage:${PORTSDIR}/graphics/sane-backends \
p5-Gtk2>=1.112:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
p5-gettext>=1.05:${PORTSDIR}/devel/p5-Locale-gettext
USE_PERL5= yes
USE_GETTEXT= yes
PERL_CONFIGURE= yes
LOCALES= de en_GB fr nl sv
PLIST_FILES= bin/${PORTNAME} share/applications/${PORTNAME}.desktop \
${LOCALES:S|^|share/locale/|:S|$|/LC_MESSAGES/${PORTNAME}.mo|} \
%%SITE_PERL%%/%%PERL_ARCH%%/auto/${PORTNAME}/.packlist
PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/${PORTNAME}
USE_GMAKE= yes
MAN1= ${PORTNAME}.1
post-patch:
@${REINPLACE_CMD} -e 's/--parents/-p/g' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>
|