aboutsummaryrefslogtreecommitdiff
path: root/devel/arduino
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2012-07-27 12:58:30 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2012-07-27 12:58:30 +0000
commitb04fb799dfecaca905db26ba194ffef964936ad3 (patch)
tree4d2ba77c47cb99baad1965d5e30c77a0a46c33e9 /devel/arduino
parentcabd85e0f9a9528cb4c322393c3545f823f5cb97 (diff)
downloadports-b04fb799dfecaca905db26ba194ffef964936ad3.tar.gz
ports-b04fb799dfecaca905db26ba194ffef964936ad3.zip
Notes
Diffstat (limited to 'devel/arduino')
-rw-r--r--devel/arduino/Makefile6
-rw-r--r--devel/arduino/pkg-plist3
2 files changed, 6 insertions, 3 deletions
diff --git a/devel/arduino/Makefile b/devel/arduino/Makefile
index ac84be03842f..d5fc34498407 100644
--- a/devel/arduino/Makefile
+++ b/devel/arduino/Makefile
@@ -5,6 +5,7 @@
PORTNAME= arduino
PORTVERSION= 1.0.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel java lang
MASTER_SITES= GOOGLE_CODE
@@ -30,7 +31,7 @@ SUB_LIST= PORTNAME=${PORTNAME}
REINPLACE_ARGS= -i ""
DESKTOP_ENTRIES= "Arduino" "Arduino IDE" \
- ${PREFIX}/${PORTNAME}/reference/img/logo.png \
+ ${PREFIX}/${PORTNAME}/logo.png \
"arduino" "Development;IDE;" "false"
OPTIONS_DEFINE+= DOCS EXAMPLES
@@ -60,6 +61,9 @@ post-patch:
@${RM} ${WRKSRC}/lib/RXTXcomm.jar
@${LN} -s ${JAVA_HOME}/lib/ext/RXTXcomm.jar ${WRKSRC}/lib/RXTXcomm.jar
+ @${MV} ${WRKSRC}/reference/img/logo.png ${WRKSRC}/
+ @${RM} -rf ${WRKSRC}/reference/img/
+
.if empty(PORT_OPTIONS:MDOCS)
@${RM} -rf ${WRKSRC}/reference
.endif
diff --git a/devel/arduino/pkg-plist b/devel/arduino/pkg-plist
index 8f2c472b0c11..40e17aeb320e 100644
--- a/devel/arduino/pkg-plist
+++ b/devel/arduino/pkg-plist
@@ -337,6 +337,7 @@ arduino/libraries/Wire/Wire.h
arduino/libraries/Wire/keywords.txt
arduino/libraries/Wire/utility/twi.c
arduino/libraries/Wire/utility/twi.h
+arduino/logo.png
%%REFDOCS%%arduino/reference/Abs.html
%%REFDOCS%%arduino/reference/AnalogRead.html
%%REFDOCS%%arduino/reference/AnalogReference.html
@@ -614,7 +615,6 @@ arduino/libraries/Wire/utility/twi.h
%%REFDOCS%%arduino/reference/arduinoWide.css
%%REFDOCS%%arduino/reference/arduinoWideRender.css
%%REFDOCS%%arduino/reference/environment.html
-%%REFDOCS%%arduino/reference/img/logo.png
%%REFDOCS%%arduino/reference/index.html
arduino/revisions.txt
arduino/tools/Mangler/make.sh
@@ -624,7 +624,6 @@ bin/arduino
@dirrm arduino/tools/Mangler/src
@dirrm arduino/tools/Mangler
@dirrm arduino/tools
-%%REFDOCS%%@dirrm arduino/reference/img
%%REFDOCS%%@dirrm arduino/reference
@dirrm arduino/libraries/Wire/utility
%%EXAMPLES%%@dirrm arduino/libraries/Wire/examples/slave_sender