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

(-)/usr/ports/devel/libusb/Makefile (-1 / +21 lines)
Lines 14-20 Link Here
14
MAINTAINER=	r.c.ladan@gmail.com
14
MAINTAINER=	r.c.ladan@gmail.com
15
COMMENT=	Library giving userland programs access to USB devices
15
COMMENT=	Library giving userland programs access to USB devices
16
16
17
OPTIONS=	SGML "Install developer guide from SGML" off
18
19
.include <bsd.port.pre.mk>
20
21
.if defined(WITH_SGML)
22
BUILD_DEPENDS+=	${LOCALBASE}/share/sgml/jade/catalog:${PORTSDIR}/textproc/jade
23
BUILD_DEPENDS+=	${LOCALBASE}/share/sgml/docbook/dsssl/modular/catalog:${PORTSDIR}/textproc/dsssl-docbook-modular
24
BUILD_DEPENDS+=	${LOCALBASE}/share/sgml/docbook/catalog:${PORTSDIR}/textproc/docbook
25
MAKE_ENV+=	SGML_CATALOG_FILES=${LOCALBASE}/share/sgml/jade/catalog:${LOCALBASE}/share/sgml/docbook/dsssl/modular/catalog:${LOCALBASE}/share/sgml/docbook/catalog:${LOCALBASE}/share/sgml/docbook/4.2/catalog
26
PLIST_SUB=	SGML=""
27
.else
17
CONFIGURE_ARGS=	--disable-build-docs
28
CONFIGURE_ARGS=	--disable-build-docs
29
PLIST_SUB=	SGML="@comment "
30
.endif
31
18
INSTALLS_SHLIB=	yes
32
INSTALLS_SHLIB=	yes
19
GNU_CONFIGURE=	yes
33
GNU_CONFIGURE=	yes
20
34
Lines 22-25 Link Here
22
	@${REINPLACE_CMD} -e 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|g' ${WRKSRC}/configure
36
	@${REINPLACE_CMD} -e 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|g' ${WRKSRC}/configure
23
	@${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' ${WRKSRC}/descriptors.c
37
	@${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' ${WRKSRC}/descriptors.c
24
38
25
.include <bsd.port.mk>
39
post-install:
40
.if defined(WITH_SGML)
41
	@${MKDIR} ${DOCSDIR}/html
42
	@${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}/html
43
.endif
44
45
.include <bsd.port.post.mk>
(-)/usr/ports/devel/libusb/pkg-plist (+48 lines)
Lines 12-14 Link Here
12
lib/libusbpp.la
12
lib/libusbpp.la
13
lib/libusbpp.so
13
lib/libusbpp.so
14
libdata/pkgconfig/libusb.pc
14
libdata/pkgconfig/libusb.pc
15
%%SGML%%%%DOCSDIR%%/html/api-device-interfaces.html
16
%%SGML%%%%DOCSDIR%%/html/api-return-values.html
17
%%SGML%%%%DOCSDIR%%/html/api-synchronous.html
18
%%SGML%%%%DOCSDIR%%/html/api-timeouts.html
19
%%SGML%%%%DOCSDIR%%/html/api-types.html
20
%%SGML%%%%DOCSDIR%%/html/api.html
21
%%SGML%%%%DOCSDIR%%/html/examples-code.html
22
%%SGML%%%%DOCSDIR%%/html/examples-other.html
23
%%SGML%%%%DOCSDIR%%/html/examples-tests.html
24
%%SGML%%%%DOCSDIR%%/html/examples.html
25
%%SGML%%%%DOCSDIR%%/html/function.usbbulkread.html
26
%%SGML%%%%DOCSDIR%%/html/function.usbbulkwrite.html
27
%%SGML%%%%DOCSDIR%%/html/function.usbclaiminterface.html
28
%%SGML%%%%DOCSDIR%%/html/function.usbclearhalt.html
29
%%SGML%%%%DOCSDIR%%/html/function.usbclose.html
30
%%SGML%%%%DOCSDIR%%/html/function.usbcontrolmsg.html
31
%%SGML%%%%DOCSDIR%%/html/function.usbdetachkerneldrivernp.html
32
%%SGML%%%%DOCSDIR%%/html/function.usbfindbusses.html
33
%%SGML%%%%DOCSDIR%%/html/function.usbfinddevices.html
34
%%SGML%%%%DOCSDIR%%/html/function.usbgetbusses.html
35
%%SGML%%%%DOCSDIR%%/html/function.usbgetdescriptor.html
36
%%SGML%%%%DOCSDIR%%/html/function.usbgetdescriptorbyendpoint.html
37
%%SGML%%%%DOCSDIR%%/html/function.usbgetdrivernp.html
38
%%SGML%%%%DOCSDIR%%/html/function.usbgetstring.html
39
%%SGML%%%%DOCSDIR%%/html/function.usbgetstringsimple.html
40
%%SGML%%%%DOCSDIR%%/html/function.usbinit.html
41
%%SGML%%%%DOCSDIR%%/html/function.usbinterruptread.html
42
%%SGML%%%%DOCSDIR%%/html/function.usbinterruptwrite.html
43
%%SGML%%%%DOCSDIR%%/html/function.usbopen.html
44
%%SGML%%%%DOCSDIR%%/html/function.usbreleaseinterface.html
45
%%SGML%%%%DOCSDIR%%/html/function.usbreset.html
46
%%SGML%%%%DOCSDIR%%/html/function.usbresetep.html
47
%%SGML%%%%DOCSDIR%%/html/function.usbsetaltinterface.html
48
%%SGML%%%%DOCSDIR%%/html/function.usbsetconfiguration.html
49
%%SGML%%%%DOCSDIR%%/html/functions.html
50
%%SGML%%%%DOCSDIR%%/html/index.html
51
%%SGML%%%%DOCSDIR%%/html/intro-overview.html
52
%%SGML%%%%DOCSDIR%%/html/intro-support.html
53
%%SGML%%%%DOCSDIR%%/html/intro.html
54
%%SGML%%%%DOCSDIR%%/html/preface.html
55
%%SGML%%%%DOCSDIR%%/html/ref.bulk.html
56
%%SGML%%%%DOCSDIR%%/html/ref.control.html
57
%%SGML%%%%DOCSDIR%%/html/ref.core.html
58
%%SGML%%%%DOCSDIR%%/html/ref.deviceops.html
59
%%SGML%%%%DOCSDIR%%/html/ref.interrupt.html
60
%%SGML%%%%DOCSDIR%%/html/ref.nonportable.html
61
%%SGML%%@dirrm %%DOCSDIR%%/html
62
%%SGML%%@dirrm %%DOCSDIR%%

Return to bug 97993