View | Details | Raw Unified | Return to bug 213901
Collapse All | Expand All

(-)devel/arduino16/Makefile (-1 / +6 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=		arduino
3
PORTNAME=		arduino
4
PORTVERSION=		1.6.12
4
PORTVERSION=		1.6.12
5
PORTREVISION=		3
5
PORTREVISION=		4
6
CATEGORIES=		devel java
6
CATEGORIES=		devel java
7
PKGNAMESUFFIX=		16
7
PKGNAMESUFFIX=		16
8
DIST_SUBDIR=		${PORTNAME}
8
DIST_SUBDIR=		${PORTNAME}
Lines 44-49 Link Here
44
GH_TUPLE+=		${BUNDLE_GH_ACCOUNT}:${blib}/linux/work/libraries/${blib:C/\:.*//}
44
GH_TUPLE+=		${BUNDLE_GH_ACCOUNT}:${blib}/linux/work/libraries/${blib:C/\:.*//}
45
.endfor
45
.endfor
46
46
47
USES=			desktop-file-utils
47
LIB_DIRS+=		${LOCALBASE}/lib ${LOCALBASE}/lib/jni
48
LIB_DIRS+=		${LOCALBASE}/lib ${LOCALBASE}/lib/jni
48
WRKSRC_SUBDIR=		build
49
WRKSRC_SUBDIR=		build
49
PATCH_WRKSRC=		${WRKSRC}/../
50
PATCH_WRKSRC=		${WRKSRC}/../
Lines 88-93 Link Here
88
89
89
post-patch:
90
post-patch:
90
	${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${PATCH_WRKSRC}/arduino-core/src/processing/app/BaseNoGui.java
91
	${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${PATCH_WRKSRC}/arduino-core/src/processing/app/BaseNoGui.java
92
	${REINPLACE_CMD} -e 's:<BINARY_LOCATION>:arduino:' -e 's:<ICON_NAME>:arduino:' \
93
		${PATCH_WRKSRC}/build/linux/dist/desktop.template
91
94
92
do-install:
95
do-install:
93
	${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}
96
	${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}
Lines 101-105 Link Here
101
	${INSTALL_SCRIPT} ${BUILD_DIR}/arduino ${STAGEDIR}${PREFIX}/${PORTNAME}
104
	${INSTALL_SCRIPT} ${BUILD_DIR}/arduino ${STAGEDIR}${PREFIX}/${PORTNAME}
102
	${LN} -s ../${PORTNAME}/arduino ${STAGEDIR}${PREFIX}/bin/arduino
105
	${LN} -s ../${PORTNAME}/arduino ${STAGEDIR}${PREFIX}/bin/arduino
103
	${LN} -s ../bin/arduino-builder ${STAGEDIR}${PREFIX}/arduino/arduino-builder
106
	${LN} -s ../bin/arduino-builder ${STAGEDIR}${PREFIX}/arduino/arduino-builder
107
	${CP} ${WRKSRC}/shared/icons/arduino.xpm ${STAGEDIR}/${PREFIX}/share/pixmaps
108
	${CP} ${PATCH_WRKSRC}/build/linux/dist/desktop.template ${STAGEDIR}/${PREFIX}/share/applications/arduino.desktop
104
109
105
.include <bsd.port.mk>
110
.include <bsd.port.mk>
(-)devel/arduino16/pkg-plist (+2 lines)
Lines 2053-2055 Link Here
2053
arduino/tools/WiFi101/src/cc/arduino/plugins/wifi101/flashers/java/SSLCertDownloader.java
2053
arduino/tools/WiFi101/src/cc/arduino/plugins/wifi101/flashers/java/SSLCertDownloader.java
2054
arduino/tools/howto.txt
2054
arduino/tools/howto.txt
2055
bin/arduino
2055
bin/arduino
2056
share/applications/arduino.desktop
2057
share/pixmaps/arduino.xpm

Return to bug 213901