1187188af0
- Cleanup Makefile: remove incorrect spaces and trailing backslash - Use REINPLACE_CMD instead of a patch file Changes: http://search.cpan.org/dist/Sane/Changes Feature safe: yes
28 lines
691 B
Makefile
28 lines
691 B
Makefile
# Ports collection makefile for: Sane
|
|
# Date created: 2009/01/12
|
|
# Whom: chinsan
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Sane
|
|
PORTVERSION= 0.05
|
|
CATEGORIES= graphics perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Perl extension for the SANE (Scanner Access Now Easy) Project
|
|
|
|
BUILD_DEPENDS= p5-ExtUtils-Depends>=0:${PORTSDIR}/devel/p5-ExtUtils-Depends \
|
|
p5-ExtUtils-PkgConfig>=0:${PORTSDIR}/devel/p5-ExtUtils-PkgConfig \
|
|
${LOCALBASE}/bin/sane-config:${PORTSDIR}/graphics/sane-backends
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Sane.3
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^my $$inc = / s|-I\.|& -I${LOCALBASE}/include|' ${WRKSRC}/Makefile.PL
|
|
|
|
.include <bsd.port.mk>
|