summaryrefslogtreecommitdiff
path: root/devel/arduino/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/arduino/Makefile')
-rw-r--r--devel/arduino/Makefile6
1 files changed, 5 insertions, 1 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