mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
741aa71483
Specifically, newer autoconf (> 2.13) has different semantic of the configure target. In short, one should use --build=CONFIGURE_TARGET instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning and the old semantic may be removed in later autoconf releases. To workaround this issue, many ports hack the CONFIGURE_TARGET variable so that it contains the ``--build='' prefix. To solve this issue, under the fact that some ports still have configure script generated by the old autoconf, we use runtime detection in the do-configure target so that the proper argument can be used. Changes to Mk/*: - Add runtime detection magic in bsd.port.mk - Remove CONFIGURE_TARGET hack in various bsd.*.mk - USE_GNOME=gnometarget is now an no-op Changes to individual ports, other than removing the CONFIGURE_TARGET hack: = pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables) - comms/gnuradio - science/abinit - science/elmer-fem - science/elmer-matc - science/elmer-meshgen2d - science/elmerfront - science/elmerpost = use x86_64 as ARCH - devel/g-wrap = other changes - print/magicfilter GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf Total # of ports modified: 1,027 Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes) PR: 126524 (obsoletes 52917) Submitted by: rafan Tested on: two pointyhat 7-amd64 exp runs (by pav) Approved by: portmgr (pav)
87 lines
1.8 KiB
Makefile
87 lines
1.8 KiB
Makefile
# New ports collection makefile for: lcdproc
|
|
# Date created: Sat Jun 1 20:03:41 EDT 2002
|
|
# Whom: pat
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lcdproc
|
|
PORTVERSION= 0.5.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= bsdfan@nurfuerspam.de
|
|
COMMENT= A client/server suite for LCD devices
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
USE_AUTOTOOLS= autoconf:262 automake:19 aclocal:19
|
|
GNU_CONFIGURE= yes
|
|
USE_RC_SUBR= LCDd lcdproc
|
|
|
|
CONFIGURE_ARGS= --enable-drivers="${LCDPROC_DRIVERS}" \
|
|
--disable-ldap \
|
|
--disable-doxygen
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS}"
|
|
|
|
MAN1= lcdexec.1 lcdproc.1
|
|
MAN5= lcdproc-config.5
|
|
MAN8= LCDd.8
|
|
|
|
OPTIONS= USB "Enable USB support" off
|
|
|
|
LCDPROC_DRIVERS=bayrad \
|
|
CFontz \
|
|
CFontz633 \
|
|
CFontzPacket \
|
|
CwLnx \
|
|
curses \
|
|
ea65 \
|
|
EyeboxOne \
|
|
glk \
|
|
hd44780 \
|
|
icp_a106 \
|
|
lb216 \
|
|
lcdm001 \
|
|
lcterm \
|
|
MD8800 \
|
|
ms6931 \
|
|
mtc_s16209x \
|
|
MtxOrb \
|
|
NoritakeVFD \
|
|
pyramid \
|
|
sed1330 \
|
|
sed1520 \
|
|
serialPOS \
|
|
serialVFD \
|
|
sli \
|
|
stv5730 \
|
|
t6963 \
|
|
text \
|
|
tyan
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_USB)
|
|
LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
|
|
CONFIGURE_ARGS+= --enable-libusb
|
|
PLIST_SUB+= USB=""
|
|
LCDPROC_DRIVERS+= IOWarrior
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-libusb
|
|
PLIST_SUB+= USB="@comment "
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's!server/drivers!${PREFIX}/lib/lcdproc!' ${WRKSRC}/LCDd.conf
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/LCDd.conf ${PREFIX}/etc/LCDd.conf.sample
|
|
${INSTALL_DATA} ${WRKSRC}/clients/lcdproc/lcdproc.conf ${PREFIX}/etc/lcdproc.conf.sample
|
|
${INSTALL_DATA} ${WRKSRC}/clients/lcdexec/lcdexec.conf ${PREFIX}/etc/lcdexec.conf.sample
|
|
${INSTALL_DATA} ${WRKSRC}/clients/lcdvc/lcdvc.conf ${PREFIX}/etc/lcdvc.conf.sample
|
|
|
|
.include <bsd.port.post.mk>
|