aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorlippe <lippe@FreeBSD.org>2008-07-14 04:55:41 +0800
committerlippe <lippe@FreeBSD.org>2008-07-14 04:55:41 +0800
commit96430ad14012839f29e655c885fda55de9e57cf1 (patch)
tree56819ba7ff63cadb04e20aba6fec5e041c4f9994 /graphics
parent460eb2f3b89f188cce86ed34c2ba8858178cc4c3 (diff)
downloadfreebsd-ports-gnome-96430ad14012839f29e655c885fda55de9e57cf1.tar.gz
freebsd-ports-gnome-96430ad14012839f29e655c885fda55de9e57cf1.tar.zst
freebsd-ports-gnome-96430ad14012839f29e655c885fda55de9e57cf1.zip
- Drops the not-needed build-dependency on gmake.
- Respects the system's CXX and the CXXFLAGS settings. - Enables parallel builds on systems with more than one CPU. - Bump PORTREVISION. Submitted by: mi (via private mail) Approved by: gabor (mentor, implicit)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ocrad/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/graphics/ocrad/Makefile b/graphics/ocrad/Makefile
index fc0abb1db395..0400577ff102 100644
--- a/graphics/ocrad/Makefile
+++ b/graphics/ocrad/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ocrad
PORTVERSION= 0.17
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,11 +17,10 @@ COMMENT= OCR program implemented as filter
USE_BZIP2= yes
HAS_CONFIGURE= yes
-USE_GMAKE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX}
-MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
- CXX="${CXX}"
+CONFIGURE_ARGS= --prefix=${PREFIX} CXXFLAGS="${CXXFLAGS}" CXX="${CXX}"
+CXXFLAGS+= -Wall -W
+MAKE_ARGS= -j`${SYSCTL} -n hw.ncpu`
DOCS= AUTHORS COPYING ChangeLog NEWS README TODO INSTALL
EXAMPLES= test.pbm test.txt
@@ -29,10 +28,10 @@ MAN1= ocrad.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ocrad ${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/doc/ocrad.1 ${MAN1PREFIX}/man/man1/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
- ${INSTALL_MAN} ${WRKSRC}/doc/ocrad.1 ${MAN1PREFIX}/man/man1/
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}