2006-06-06 20:06:50 +02:00
|
|
|
# New ports collection makefile for: scanbuttond
|
|
|
|
# Date created: 31 March 2006
|
|
|
|
# Whom: Daniel Thiele
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= scanbuttond
|
|
|
|
PORTVERSION= 0.2.3
|
|
|
|
CATEGORIES= sysutils
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF
|
2006-06-06 20:06:50 +02:00
|
|
|
|
|
|
|
MAINTAINER= dthiele@gmx.net
|
|
|
|
COMMENT= A daemon to monitor and configure modern scanner's buttons
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2009-03-25 12:44:37 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2006-06-06 20:06:50 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- 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)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2009-03-25 12:44:37 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2006-06-06 20:06:50 +02:00
|
|
|
|
|
|
|
SUB_FILES+= pkg-message
|
|
|
|
|
2009-03-09 18:15:43 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 800069
|
|
|
|
LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
|
|
|
|
.endif
|
|
|
|
|
2006-06-06 20:06:50 +02:00
|
|
|
pre-configure:
|
|
|
|
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
|
|
|
|
${REINPLACE_CMD} -e 's|-ldl||g'
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2009-03-09 18:15:43 +01:00
|
|
|
.include <bsd.port.post.mk>
|