aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjonathan <jonathan@FreeBSD.org>2015-09-22 21:48:20 +0800
committerjonathan <jonathan@FreeBSD.org>2015-09-22 21:48:20 +0800
commit3ba3b6e6e7c79f231a0d4ec2aeb423330326bb10 (patch)
tree5165871370a6af85df5b5f6f3e2083969beb7c2e
parent85e0ced5035d632194f564bc9dcf8da978566c19 (diff)
downloadfreebsd-ports-gnome-3ba3b6e6e7c79f231a0d4ec2aeb423330326bb10.tar.gz
freebsd-ports-gnome-3ba3b6e6e7c79f231a0d4ec2aeb423330326bb10.tar.zst
freebsd-ports-gnome-3ba3b6e6e7c79f231a0d4ec2aeb423330326bb10.zip
Add new port: devel/libpololu-avr.
This is a library used to control Pololu AVR-based robots such as the Pololu 3pi (used for introductory programming education at Memorial University of Newfoundland and, I believe, other places too). Approved by: mat Differential Revision: https://reviews.freebsd.org/D2622
-rw-r--r--devel/libpololu-avr/Makefile25
-rw-r--r--devel/libpololu-avr/distinfo2
-rw-r--r--devel/libpololu-avr/pkg-descr4
-rw-r--r--devel/libpololu-avr/pkg-plist59
4 files changed, 90 insertions, 0 deletions
diff --git a/devel/libpololu-avr/Makefile b/devel/libpololu-avr/Makefile
new file mode 100644
index 000000000000..b6ee7b6eba24
--- /dev/null
+++ b/devel/libpololu-avr/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= libpololu-avr
+PORTVERSION= 140513
+CATEGORIES= devel
+MASTER_SITES= http://www.pololu.com/file/download/
+EXTRACT_SUFX= .zip?file_id=0J757
+
+MAINTAINER= jonathan@FreeBSD.org
+COMMENT= Support libraries for Pololu robots
+
+LICENSE= MIT
+
+BUILD_DEPENDS= avr-gcc:${PORTSDIR}/devel/avr-gcc \
+ ${LOCALBASE}/avr/lib/libc.a:${PORTSDIR}/devel/avr-libc
+
+USES= gmake zip
+
+PREFIX= ${LOCALBASE}/avr
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+MAKE_ENV= LIB=${STAGEDIR}${PREFIX}/lib
+ALL_TARGET= library_files
+
+.include <bsd.port.mk>
diff --git a/devel/libpololu-avr/distinfo b/devel/libpololu-avr/distinfo
new file mode 100644
index 000000000000..a27b07ba46b8
--- /dev/null
+++ b/devel/libpololu-avr/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libpololu-avr-140513.zip?file_id=0J757) = 84d1de356530e2ea118cd1ecda8e64edd5bb965e9ee5fe14d20034f627592c60
+SIZE (libpololu-avr-140513.zip?file_id=0J757) = 3177162
diff --git a/devel/libpololu-avr/pkg-descr b/devel/libpololu-avr/pkg-descr
new file mode 100644
index 000000000000..2a2bc43f8447
--- /dev/null
+++ b/devel/libpololu-avr/pkg-descr
@@ -0,0 +1,4 @@
+A C/C++ library for controlling Pololu AVR hardware, such as the 3pi robot
+and Orangutan family of robot controllers.
+
+WWW: https://www.pololu.com/docs/0J20
diff --git a/devel/libpololu-avr/pkg-plist b/devel/libpololu-avr/pkg-plist
new file mode 100644
index 000000000000..4f1317bd156d
--- /dev/null
+++ b/devel/libpololu-avr/pkg-plist
@@ -0,0 +1,59 @@
+include/pololu/3pi.h
+include/pololu/OrangutanAnalog.h
+include/pololu/OrangutanAnalog/OrangutanAnalog.h
+include/pololu/OrangutanBuzzer.h
+include/pololu/OrangutanBuzzer/OrangutanBuzzer.h
+include/pololu/OrangutanDigital.h
+include/pololu/OrangutanDigital/OrangutanDigital.h
+include/pololu/OrangutanLCD.h
+include/pololu/OrangutanLCD/OrangutanLCD.h
+include/pololu/OrangutanLEDs.h
+include/pololu/OrangutanLEDs/OrangutanLEDs.h
+include/pololu/OrangutanMotors.h
+include/pololu/OrangutanMotors/OrangutanMotors.h
+include/pololu/OrangutanPulseIn.h
+include/pololu/OrangutanPulseIn/OrangutanPulseIn.h
+include/pololu/OrangutanPushbuttons.h
+include/pololu/OrangutanPushbuttons/OrangutanPushbuttons.h
+include/pololu/OrangutanResources.h
+include/pololu/OrangutanResources/OrangutanResources.h
+include/pololu/OrangutanResources/include/OrangutanModel.h
+include/pololu/OrangutanSPIMaster/OrangutanSPIMaster.h
+include/pololu/OrangutanSVP/OrangutanSVP.h
+include/pololu/OrangutanSerial.h
+include/pololu/OrangutanSerial/OrangutanSerial.h
+include/pololu/OrangutanServos.h
+include/pololu/OrangutanServos/OrangutanServos.h
+include/pololu/OrangutanTime.h
+include/pololu/OrangutanTime/OrangutanTime.h
+include/pololu/OrangutanX2/OrangutanX2.h
+include/pololu/Pololu3pi.h
+include/pololu/Pololu3pi/Pololu3pi.h
+include/pololu/PololuQTRSensors.h
+include/pololu/PololuQTRSensors/PololuQTRSensors.h
+include/pololu/PololuWheelEncoders.h
+include/pololu/PololuWheelEncoders/PololuWheelEncoders.h
+include/pololu/analog.h
+include/pololu/buzzer.h
+include/pololu/digital.h
+include/pololu/encoders.h
+include/pololu/lcd.h
+include/pololu/leds.h
+include/pololu/motors.h
+include/pololu/orangutan
+include/pololu/orangutan.h
+include/pololu/pulsein.h
+include/pololu/pushbuttons.h
+include/pololu/qtr.h
+include/pololu/resources.h
+include/pololu/serial.h
+include/pololu/servos.h
+include/pololu/time.h
+include/pololu/workaround.h
+lib/libpololu_atmega1284p.a
+lib/libpololu_atmega1284p_x2.a
+lib/libpololu_atmega168.a
+lib/libpololu_atmega324p.a
+lib/libpololu_atmega328p.a
+lib/libpololu_atmega48.a
+lib/libpololu_atmega644p.a