mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
35 lines
787 B
Makefile
35 lines
787 B
Makefile
# New ports collection makefile for: scanbuttond
|
|
# Date created: 31 March 2006
|
|
# Whom: Daniel Thiele
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= scanbuttond
|
|
PORTVERSION= 0.2.3
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= dthiele@gmx.net
|
|
COMMENT= A daemon to monitor and configure modern scanner's buttons
|
|
|
|
LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb
|
|
|
|
USE_GCC= 3.3+
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
USE_LDCONFIG= yes
|
|
|
|
SUB_FILES+= pkg-message
|
|
|
|
pre-configure:
|
|
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
|
|
${REINPLACE_CMD} -e 's|-ldl||g'
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|