2004-12-08 23:52:08 +00:00
|
|
|
# New ports collection makefile for: libgiigic
|
|
|
|
# Date created: 7 December 2004
|
|
|
|
# Whom: antoine.brodin@laposte.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libgiigic
|
2006-03-18 13:43:26 +00:00
|
|
|
PORTVERSION= 1.1.1
|
2004-12-08 23:52:08 +00:00
|
|
|
CATEGORIES= devel
|
2005-12-12 19:24:10 +00:00
|
|
|
MASTER_SITES= http://www.ggi-project.org/ftp/ggi/v2.2/ \
|
2004-12-08 23:52:08 +00:00
|
|
|
${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ggi
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
|
|
|
|
|
|
|
MAINTAINER= antoine.brodin@laposte.net
|
|
|
|
COMMENT= A library on top of libgii, gic stands for General Input Configuration
|
|
|
|
|
2005-12-12 19:24:10 +00:00
|
|
|
LIB_DEPENDS= gii.1:${PORTSDIR}/devel/libgii
|
2004-12-08 23:52:08 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
USE_BZIP2= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-18 21:18:09 +00:00
|
|
|
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
|
2004-12-08 23:52:08 +00:00
|
|
|
|
|
|
|
MAN3= gicActionLazyAction.3 \
|
|
|
|
gicActionWrite.3 \
|
|
|
|
gicContextAllocate.3 \
|
|
|
|
gicControlAllocate.3 \
|
|
|
|
gicFeatureActivate.3 \
|
|
|
|
gicFeatureAllocate.3 \
|
|
|
|
gicFeatureAttachAction.3 \
|
|
|
|
gicFeatureAttachRecognizerDriver.3 \
|
|
|
|
gicFeatureMapActions.3 \
|
|
|
|
gicFeatureWrite.3 \
|
|
|
|
gicHeadAllocate.3 \
|
|
|
|
gicInit.3 \
|
|
|
|
gicInputRegister.3 \
|
|
|
|
gicOpen.3 \
|
|
|
|
gicRecognizerDriverRegister.3 \
|
|
|
|
gicRecognizerTrain.3 \
|
|
|
|
gicRecognizerWrite.3 \
|
|
|
|
gic_context.3 \
|
|
|
|
gic_control.3 \
|
|
|
|
gic_feature.3 \
|
|
|
|
gic_head.3
|
|
|
|
MAN7= libgiigic-usage.7 \
|
|
|
|
libgiigic.7
|
|
|
|
MLINKS= gicActionLazyAction.3 gicActionLazyGetstate.3 \
|
|
|
|
- gicActionLazyReset.3 \
|
|
|
|
gicActionWrite.3 gicActionMapActions.3 \
|
|
|
|
gicContextAllocate.3 gicContextAttachControl.3 \
|
|
|
|
- gicContextDetachControl.3 - gicContextFindConflict.3 \
|
|
|
|
- gicContextFree.3 - gicContextGetControl.3 \
|
|
|
|
- gicContextGetName.3 - gicContextHandleEvent.3 \
|
|
|
|
- gicContextLookupControl.3 - gicContextMapActions.3 \
|
|
|
|
- gicContextNumControls.3 - gicContextRead.3 \
|
|
|
|
- gicContextWrite.3 \
|
|
|
|
gicControlAllocate.3 gicControlAttachFeature.3 \
|
|
|
|
- gicControlDetachFeature.3 - gicControlFindConflict.3 \
|
|
|
|
- gicControlFree.3 - gicControlGetFeature.3 \
|
|
|
|
- gicControlGetName.3 - gicControlHandleEvent.3 \
|
|
|
|
- gicControlLookupFeature.3 - gicControlMapActions.3 \
|
|
|
|
- gicControlNumFeatures.3 - gicControlRead.3 \
|
|
|
|
- gicControlWrite.3 \
|
|
|
|
gicInit.3 gicExit.3 \
|
|
|
|
gicFeatureActivate.3 gicFeatureHandleEvent.3 \
|
|
|
|
gicFeatureAttachAction.3 gicFeatureDetachAction.3 \
|
|
|
|
gicFeatureAttachRecognizerDriver.3 \
|
|
|
|
gicFeatureAttachRecognizer.3 - gicFeatureDetachRecognizer.3 \
|
|
|
|
- gicFeatureGetName.3 - gicFeatureGetRecognizer.3 \
|
|
|
|
- gicFeatureNumRecognizers.3 \
|
|
|
|
gicFeatureAllocate.3 gicFeatureFree.3 \
|
|
|
|
gicFeatureMapActions.3 gicFeatureFindConflict.3 \
|
|
|
|
gicFeatureWrite.3 gicFeatureRead.3 \
|
|
|
|
gicHeadAllocate.3 gicHeadAttachContext.3 \
|
|
|
|
- gicHeadDetachContext.3 - gicHeadFree.3 \
|
|
|
|
- gicHeadGetContext.3 - gicHeadLookupContext.3 \
|
|
|
|
- gicHeadMapActions.3 - gicHeadNumContexts.3 \
|
|
|
|
- gicHeadRead.3 - gicHeadWrite.3 \
|
|
|
|
gicOpen.3 gicClose.3 \
|
|
|
|
gicRecognizerDriverRegister.3 gicRecognizerDriverLookup.3 \
|
|
|
|
- gicRecognizerDriverUnregister.3 \
|
|
|
|
gicRecognizerTrain.3 gicRecognizerFindConflict.3 \
|
|
|
|
- gicRecognizerGetName.3 - gicRecognizerGetOpposite.3 \
|
|
|
|
- gicRecognizerTrainAdd.3 - gicRecognizerTrainMove.3 \
|
|
|
|
- gicRecognizerTrainStart.3 - gicRecognizerTrainStop.3
|
|
|
|
|
|
|
|
post-install:
|
2005-12-12 19:24:10 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/libgiigic.conf ${PREFIX}/etc/ggi/libgiigic.conf.dist
|
2004-12-08 23:52:08 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|