diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-25 22:58:40 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-25 22:58:40 +0800 |
commit | 89b908a3ed0dec56ff137825f5b728b139e9eeae (patch) | |
tree | ec938081a142121a90aded409240a38edd6c00f5 /sysutils | |
parent | bf3df71d1962f8f29197d7c4f8be8abc1bdc4c6d (diff) | |
download | freebsd-ports-gnome-89b908a3ed0dec56ff137825f5b728b139e9eeae.tar.gz freebsd-ports-gnome-89b908a3ed0dec56ff137825f5b728b139e9eeae.tar.zst freebsd-ports-gnome-89b908a3ed0dec56ff137825f5b728b139e9eeae.zip |
- Add some mirrors
- Add LICENSE_FILE
- Switch to options helpers
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/usbutils/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/sysutils/usbutils/Makefile b/sysutils/usbutils/Makefile index 7cb67d1fab2f..6ff4f54a0f25 100644 --- a/sysutils/usbutils/Makefile +++ b/sysutils/usbutils/Makefile @@ -5,37 +5,35 @@ PORTNAME= usbutils PORTVERSION= 0.86 PORTREVISION= 2 CATEGORIES= sysutils -MASTER_SITES= SF/linux-usb/${PORTNAME} +MASTER_SITES= SF/linux-usb/${PORTNAME} \ + http://pkgs.fedoraproject.org/repo/pkgs/usbutils/usbutils-0.86.tar.gz/34979f675d2bcb3e1b45012fa830a53f/ \ + http://ftp.be.debian.org/pub/linux/utils/usb/usbutils/ MAINTAINER= ports@FreeBSD.org COMMENT= Utility for listing USB devices LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING +USES= gmake pkgconfig GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --datadir=${DATADIR} --enable-zlib -USES= gmake pkgconfig +CONFIGURE_ENV= LIBUSB_CFLAGS="-I/usr/include" \ + LIBUSB_LIBS="-L/usr/lib -lusb" PORTDOCS= AUTHORS ChangeLog NEWS README OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - -CONFIGURE_ENV+= LIBUSB_CFLAGS="-I/usr/include" \ - LIBUSB_LIBS="-L/usr/lib -lusb" - post-patch: @${REINPLACE_CMD} -i '' \ -e 's|/bin/bash|/bin/sh|' \ ${WRKSRC}/usb-devices -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.mk> |