Lines 1-12
Link Here
|
1 |
# New ports collection makefile for: lcdproc |
|
|
2 |
# Date created: Sat Jun 1 20:03:41 EDT 2002 |
3 |
# Whom: pat |
4 |
# |
1 |
# |
5 |
# $FreeBSD: ports/sysutils/lcdproc/Makefile,v 1.30 2012/06/20 21:52:27 madpilot Exp $ |
2 |
# $FreeBSD: ports/sysutils/lcdproc/Makefile,v 1.30 2012/06/20 21:52:27 madpilot Exp $ |
6 |
# |
|
|
7 |
|
3 |
|
8 |
PORTNAME= lcdproc |
4 |
PORTNAME= lcdproc |
9 |
PORTVERSION= 0.5.5 |
5 |
PORTVERSION= 0.5.6 |
10 |
CATEGORIES= sysutils |
6 |
CATEGORIES= sysutils |
11 |
MASTER_SITES= SF |
7 |
MASTER_SITES= SF |
12 |
|
8 |
|
Lines 20-30
Link Here
|
20 |
|
16 |
|
21 |
USE_AUTOTOOLS= autoconf automake aclocal |
17 |
USE_AUTOTOOLS= autoconf automake aclocal |
22 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
23 |
USE_GNOME= pkgconfig |
|
|
24 |
USE_RC_SUBR= LCDd lcdproc lcdexec |
19 |
USE_RC_SUBR= LCDd lcdproc lcdexec |
|
|
20 |
USE_PKGCONFIG= build |
25 |
|
21 |
|
26 |
CONFIGURE_ARGS= --enable-drivers="${LCDPROC_DRIVERS}" \ |
22 |
CONFIGURE_ARGS= --enable-drivers="${LCDPROC_DRIVERS}" \ |
27 |
--disable-dependency-tracking \ |
23 |
--disable-dependency-tracking \ |
|
|
24 |
--disable-libusb-1-0 \ |
28 |
--disable-doxygen |
25 |
--disable-doxygen |
29 |
|
26 |
|
30 |
SUB_FILES= pkg-message |
27 |
SUB_FILES= pkg-message |
Lines 33-43
Link Here
|
33 |
MAN5= lcdproc-config.5 |
30 |
MAN5= lcdproc-config.5 |
34 |
MAN8= LCDd.8 |
31 |
MAN8= LCDd.8 |
35 |
|
32 |
|
36 |
OPTIONS_DEFINE= USB FTDI HID |
33 |
OPTIONS_DEFINE= USB FTDI HID FREETYPE PNG SERDISP |
37 |
USB_DESC= Enable USB support |
34 |
USB_DESC= USB support |
38 |
FTDI_DESC= Enable libftdi support (requires USB) |
35 |
FTDI_DESC= Build drivers using libftdi (requires USB) |
39 |
HID_DESC= Enable libhid support (requires USB) |
36 |
HID_DESC= Build drivers using libhid (requires USB) |
40 |
OPTIONS_DEFAULT=USB |
37 |
SERDISP_DESC= Build drivers using serdisplib |
|
|
38 |
OPTIONS_DEFAULT=USB FREETYPE |
41 |
NO_OPTIONS_SORT=yes |
39 |
NO_OPTIONS_SORT=yes |
42 |
|
40 |
|
43 |
# Empty args to aclocal required! |
41 |
# Empty args to aclocal required! |
Lines 45-56
Link Here
|
45 |
|
43 |
|
46 |
LCDPROC_DRIVERS=bayrad \ |
44 |
LCDPROC_DRIVERS=bayrad \ |
47 |
CFontz \ |
45 |
CFontz \ |
48 |
CFontz633 \ |
|
|
49 |
CFontzPacket \ |
46 |
CFontzPacket \ |
50 |
CwLnx \ |
47 |
CwLnx \ |
51 |
curses \ |
48 |
curses \ |
52 |
ea65 \ |
49 |
ea65 \ |
53 |
EyeboxOne \ |
50 |
EyeboxOne \ |
|
|
51 |
glcd \ |
54 |
glk \ |
52 |
glk \ |
55 |
hd44780 \ |
53 |
hd44780 \ |
56 |
icp_a106 \ |
54 |
icp_a106 \ |
Lines 64-69
Link Here
|
64 |
NoritakeVFD \ |
62 |
NoritakeVFD \ |
65 |
pyramid \ |
63 |
pyramid \ |
66 |
SureElec \ |
64 |
SureElec \ |
|
|
65 |
sdeclcd \ |
67 |
sed1330 \ |
66 |
sed1330 \ |
68 |
sed1520 \ |
67 |
sed1520 \ |
69 |
serialPOS \ |
68 |
serialPOS \ |
Lines 72-78
Link Here
|
72 |
stv5730 \ |
71 |
stv5730 \ |
73 |
t6963 \ |
72 |
t6963 \ |
74 |
text \ |
73 |
text \ |
75 |
tyan |
74 |
tyan \ |
|
|
75 |
vlsys_m428 |
76 |
|
76 |
|
77 |
.include <bsd.port.options.mk> |
77 |
.include <bsd.port.options.mk> |
78 |
|
78 |
|
Lines 90-96
Link Here
|
90 |
|
90 |
|
91 |
. if ${PORT_OPTIONS:MFTDI} |
91 |
. if ${PORT_OPTIONS:MFTDI} |
92 |
LIB_DEPENDS+= ftdi.19:${PORTSDIR}/devel/libftdi |
92 |
LIB_DEPENDS+= ftdi.19:${PORTSDIR}/devel/libftdi |
93 |
CONFIGURE_ARGS+= --enable-libftdi |
|
|
94 |
PLIST_SUB+= FTDI="" |
93 |
PLIST_SUB+= FTDI="" |
95 |
LCDPROC_DRIVERS+=i2500vfd \ |
94 |
LCDPROC_DRIVERS+=i2500vfd \ |
96 |
lis \ |
95 |
lis \ |
Lines 102-108
Link Here
|
102 |
|
101 |
|
103 |
. if ${PORT_OPTIONS:MHID} |
102 |
. if ${PORT_OPTIONS:MHID} |
104 |
LIB_DEPENDS+= hid:${PORTSDIR}/devel/libhid |
103 |
LIB_DEPENDS+= hid:${PORTSDIR}/devel/libhid |
105 |
CONFIGURE_ARGS+= --enable-libhid |
|
|
106 |
PLIST_SUB+= HID="" |
104 |
PLIST_SUB+= HID="" |
107 |
LCDPROC_DRIVERS+=mdm166a |
105 |
LCDPROC_DRIVERS+=mdm166a |
108 |
. else |
106 |
. else |
Lines 115-120
Link Here
|
115 |
PLIST_SUB+= USB="@comment " FTDI="@comment " HID="@comment " |
113 |
PLIST_SUB+= USB="@comment " FTDI="@comment " HID="@comment " |
116 |
.endif |
114 |
.endif |
117 |
|
115 |
|
|
|
116 |
.if ${PORT_OPTIONS:MFREETYPE} |
117 |
LIB_DEPENDS+= freetype:${PORTSDIR}/print/freetype2 |
118 |
.else |
119 |
CONFIGURE_ARGS+= --disable-freetype |
120 |
.endif |
121 |
|
122 |
.if ${PORT_OPTIONS:MPNG} |
123 |
LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png |
124 |
.else |
125 |
CONFIGURE_ARGS+= --disable-libpng |
126 |
.endif |
127 |
|
128 |
.if ${PORT_OPTIONS:MSERDISP} |
129 |
LIB_DEPENDS+= serdisp:${PORTSDIR}/devel/serdisplib |
130 |
CFLAGS+= -I${LOCALBASE}/include |
131 |
LDFLAGS+= -L${LOCALBASE}/lib |
132 |
CPPFLAGS+= -I${LOCALBASE}/include |
133 |
.endif |
134 |
|
118 |
post-patch: |
135 |
post-patch: |
119 |
@${REINPLACE_CMD} -e 's!server/drivers!${PREFIX}/lib/lcdproc!' ${WRKSRC}/LCDd.conf |
136 |
@${REINPLACE_CMD} -e 's!server/drivers!${PREFIX}/lib/lcdproc!' ${WRKSRC}/LCDd.conf |
120 |
|
137 |
|