aboutsummaryrefslogtreecommitdiff
path: root/graphics/ocrad/Makefile
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2015-12-22 08:31:52 +0000
committerWen Heping <wen@FreeBSD.org>2015-12-22 08:31:52 +0000
commit2b07aba507ed97fefb831a041678263de9b367aa (patch)
treed7cb41b3a44f94516bca0cc1f0b3f32a5ed620f9 /graphics/ocrad/Makefile
parent1e4fdd1d4d1b46cd8e46b444cf07d51594b938f5 (diff)
downloadports-2b07aba507ed97fefb831a041678263de9b367aa.tar.gz
ports-2b07aba507ed97fefb831a041678263de9b367aa.zip
Notes
Diffstat (limited to 'graphics/ocrad/Makefile')
-rw-r--r--graphics/ocrad/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/graphics/ocrad/Makefile b/graphics/ocrad/Makefile
index ee582e540b96..af0928e37e74 100644
--- a/graphics/ocrad/Makefile
+++ b/graphics/ocrad/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= ocrad
-PORTVERSION= 0.22
+PORTVERSION= 0.25
CATEGORIES= graphics
MASTER_SITES= GNU
EXTRACT_SUFX= .tar.lz
@@ -14,14 +14,11 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX} CXXFLAGS="${CXXFLAGS}" CXX="${CXX}"
-CXXFLAGS+= -Wall -W
-MAKE_ARGS= -j`${SYSCTL} -n hw.ncpu`
-
-PLIST_FILES= bin/${PORTNAME} man/man1/ocrad.1.gz
+CONFIGURE_ARGS= --prefix=${PREFIX} CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
PORTDOCS= AUTHORS ChangeLog NEWS README
PORTEXAMPLES= *
+PLIST_FILES= bin/${PORTNAME} man/man1/ocrad.1.gz
OPTIONS_DEFINE= DOCS EXAMPLES
@@ -38,12 +35,13 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/ocrad.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-do-install-DOCS-on:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} \
+ ${STAGEDIR}${DOCSDIR})
-do-install-EXAMPLES-on:
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- @(cd ${WRKSRC}/testsuite && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
+ @(cd ${WRKSRC}/testsuite && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>