fcbe5f3ae2
couple of fallouts. Note that these ports are only the ones that used to have a direct dependency on devel/libusb so there may be some other hidden ports that may break because of the switch. If that's the case, no need to start ranting all over but instead tell me which one(s) break. Thanks. Note: sysutils/nut hasn't been fixed yet but will be today.
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.5 2011/11/13 13:54:04 ajacoutot Exp $
|
|
|
|
COMMENT= program for reading values from 1-wire devices
|
|
|
|
DISTNAME= digitemp-3.5.0
|
|
CATEGORIES= misc
|
|
REVISION= 0
|
|
|
|
HOMEPAGE= http://www.digitemp.com/
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c m usb pthread
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/software/linux/
|
|
|
|
LIB_DEPENDS= devel/libusb-compat
|
|
|
|
NO_CONFIGURE= Yes
|
|
USE_GMAKE= Yes
|
|
ALL_TARGET= ds9097 ds9097u ds2490
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
MAKE_ENV= LDFLAGS=-L${LOCALBASE}/lib
|
|
MAKE_FLAGS= CC=${CC}
|
|
USE_GROFF= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
do-install:
|
|
$(INSTALL_DATA_DIR) ${PREFIX}/share/doc/digitemp
|
|
$(INSTALL_DATA) $(WRKSRC)/README ${PREFIX}/share/doc/digitemp
|
|
$(INSTALL_DATA) $(WRKSRC)/FAQ ${PREFIX}/share/doc/digitemp
|
|
$(INSTALL_PROGRAM) $(WRKSRC)/digitemp_DS2490 ${PREFIX}/bin
|
|
$(INSTALL_PROGRAM) $(WRKSRC)/digitemp_DS9097 ${PREFIX}/bin
|
|
$(INSTALL_PROGRAM) $(WRKSRC)/digitemp_DS9097U ${PREFIX}/bin
|
|
$(INSTALL_MAN) $(WRKSRC)/digitemp.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|