Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Sep 2016 11:19:39 +0000 (UTC)
From:      Jonathan Anderson <jonathan@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r422600 - head/devel/libpololu-avr
Message-ID:  <201609221119.u8MBJdpS066053@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jonathan (src committer)
Date: Thu Sep 22 11:19:39 2016
New Revision: 422600
URL: https://svnweb.freebsd.org/changeset/ports/422600

Log:
  Switch libpololu-avr port to GitHub sources.
  
  The zip files released on the Pololu website confuse portscout
  (which thinks there should be a new version every day!) and use a
  non-standard directory hierarchy, which requires WRKSRC to be set.
  Switching to the GitHub releases (which are created by the same company,
  just using GitHub mechanisms) solves both of these problems.
  
  Also, fix some problems pointed out by mat (thanks!) that I ought to have
  caught earlier by running `portlint -A`. :(
  
  Approved by:	mat
  Differential Revision:	https://reviews.freebsd.org/D7879

Modified:
  head/devel/libpololu-avr/Makefile
  head/devel/libpololu-avr/distinfo
  head/devel/libpololu-avr/pkg-plist

Modified: head/devel/libpololu-avr/Makefile
==============================================================================
--- head/devel/libpololu-avr/Makefile	Thu Sep 22 11:15:28 2016	(r422599)
+++ head/devel/libpololu-avr/Makefile	Thu Sep 22 11:19:39 2016	(r422600)
@@ -3,23 +3,20 @@
 PORTNAME=	libpololu-avr
 PORTVERSION=	151002
 CATEGORIES=	devel
-MASTER_SITES=	http://www.pololu.com/file/download/
-EXTRACT_SUFX=	.zip?file_id=0J1058
 
 MAINTAINER=	jonathan@FreeBSD.org
 COMMENT=	Support libraries for Pololu robots
 
 LICENSE=	MIT
 
-BUILD_DEPENDS=	avr-gcc:devel/avr-gcc \
-		${LOCALBASE}/avr/lib/libc.a:devel/avr-libc
+BUILD_DEPENDS=	${LOCALBASE}/avr/lib/libc.a:devel/avr-libc
+RUN_DEPENDS=	${LOCALBASE}/avr/lib/libc.a:devel/avr-libc
 
-USES=		gmake zip
+USES=		gmake
+USE_GITHUB=	yes
+GH_ACCOUNT=	pololu
 
-PREFIX=		${LOCALBASE}/avr
-
-WRKSRC=		${WRKDIR}/${PORTNAME}
-MAKE_ENV=	LIB=${STAGEDIR}${PREFIX}/lib
+MAKE_ENV=	LIB=${STAGEDIR}${PREFIX}/avr/lib
 ALL_TARGET=	library_files
 
 .include <bsd.port.mk>

Modified: head/devel/libpololu-avr/distinfo
==============================================================================
--- head/devel/libpololu-avr/distinfo	Thu Sep 22 11:15:28 2016	(r422599)
+++ head/devel/libpololu-avr/distinfo	Thu Sep 22 11:19:39 2016	(r422600)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1463111178
-SHA256 (libpololu-avr-151002.zip?file_id=0J1058) = 206131a5ca094d83917c5c51dc2f99d5278fc13a0bb248e03196b4450902023d
-SIZE (libpololu-avr-151002.zip?file_id=0J1058) = 3101379
+TIMESTAMP = 1473775580
+SHA256 (pololu-libpololu-avr-151002_GH0.tar.gz) = a049f22a0d8437cc7d3f96e6dbeadcac084029c966efda26c8016d4bea67ea7f
+SIZE (pololu-libpololu-avr-151002_GH0.tar.gz) = 356586

Modified: head/devel/libpololu-avr/pkg-plist
==============================================================================
--- head/devel/libpololu-avr/pkg-plist	Thu Sep 22 11:15:28 2016	(r422599)
+++ head/devel/libpololu-avr/pkg-plist	Thu Sep 22 11:19:39 2016	(r422600)
@@ -1,59 +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
+avr/include/pololu/3pi.h
+avr/include/pololu/OrangutanAnalog.h
+avr/include/pololu/OrangutanAnalog/OrangutanAnalog.h
+avr/include/pololu/OrangutanBuzzer.h
+avr/include/pololu/OrangutanBuzzer/OrangutanBuzzer.h
+avr/include/pololu/OrangutanDigital.h
+avr/include/pololu/OrangutanDigital/OrangutanDigital.h
+avr/include/pololu/OrangutanLCD.h
+avr/include/pololu/OrangutanLCD/OrangutanLCD.h
+avr/include/pololu/OrangutanLEDs.h
+avr/include/pololu/OrangutanLEDs/OrangutanLEDs.h
+avr/include/pololu/OrangutanMotors.h
+avr/include/pololu/OrangutanMotors/OrangutanMotors.h
+avr/include/pololu/OrangutanPulseIn.h
+avr/include/pololu/OrangutanPulseIn/OrangutanPulseIn.h
+avr/include/pololu/OrangutanPushbuttons.h
+avr/include/pololu/OrangutanPushbuttons/OrangutanPushbuttons.h
+avr/include/pololu/OrangutanResources.h
+avr/include/pololu/OrangutanResources/OrangutanResources.h
+avr/include/pololu/OrangutanResources/include/OrangutanModel.h
+avr/include/pololu/OrangutanSPIMaster/OrangutanSPIMaster.h
+avr/include/pololu/OrangutanSVP/OrangutanSVP.h
+avr/include/pololu/OrangutanSerial.h
+avr/include/pololu/OrangutanSerial/OrangutanSerial.h
+avr/include/pololu/OrangutanServos.h
+avr/include/pololu/OrangutanServos/OrangutanServos.h
+avr/include/pololu/OrangutanTime.h
+avr/include/pololu/OrangutanTime/OrangutanTime.h
+avr/include/pololu/OrangutanX2/OrangutanX2.h
+avr/include/pololu/Pololu3pi.h
+avr/include/pololu/Pololu3pi/Pololu3pi.h
+avr/include/pololu/PololuQTRSensors.h
+avr/include/pololu/PololuQTRSensors/PololuQTRSensors.h
+avr/include/pololu/PololuWheelEncoders.h
+avr/include/pololu/PololuWheelEncoders/PololuWheelEncoders.h
+avr/include/pololu/analog.h
+avr/include/pololu/buzzer.h
+avr/include/pololu/digital.h
+avr/include/pololu/encoders.h
+avr/include/pololu/lcd.h
+avr/include/pololu/leds.h
+avr/include/pololu/motors.h
+avr/include/pololu/orangutan
+avr/include/pololu/orangutan.h
+avr/include/pololu/pulsein.h
+avr/include/pololu/pushbuttons.h
+avr/include/pololu/qtr.h
+avr/include/pololu/resources.h
+avr/include/pololu/serial.h
+avr/include/pololu/servos.h
+avr/include/pololu/time.h
+avr/include/pololu/workaround.h
+avr/lib/libpololu_atmega1284p.a
+avr/lib/libpololu_atmega1284p_x2.a
+avr/lib/libpololu_atmega168.a
+avr/lib/libpololu_atmega324p.a
+avr/lib/libpololu_atmega328p.a
+avr/lib/libpololu_atmega48.a
+avr/lib/libpololu_atmega644p.a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609221119.u8MBJdpS066053>