aboutsummaryrefslogtreecommitdiffstats
path: root/misc/hotkeys/Makefile
blob: 866fa38830c10715351fb24660ac74ba143b53bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    hotkeys
# Date created:             May 20th, 2003
# Whom:                 Andy Pavlo <amp0928@rit.edu>
#
# $FreeBSD$

PORTNAME=   hotkeys
PORTVERSION=    0.5.7.1
CATEGORIES= misc
MASTER_SITES=   http://ypwong.org/hotkeys/${PORTVERSION}/   \
        ${MASTER_SITE_XCONTRIB}
DISTNAME=   hotkeys_${PORTVERSION}

MAINTAINER= amp0928@rit.edu
COMMENT=    Allows usage of special keys on internet/multimedia keyboards

LIB_DEPENDS=    xosd.4:${PORTSDIR}/misc/xosd \
        xml2.5:${PORTSDIR}/textproc/libxml2 \
        db3.3:${PORTSDIR}/databases/db3

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE=  1
CONFIGURE_ARGS= --with-db3-inc=${LOCALBASE}/include/db3 \
        --with-db3-lib=${LOCALBASE}/lib \
        --with-xosd
USE_GMAKE=  yes

MAN1=       hotkeys.1
ORIG_CONFIG=    ${PREFIX}/etc/hotkeys.conf
SAMPLE_CONFIG=  ${PREFIX}/etc/hotkeys.conf.sample

post-extract:
    @${CP} ${PATCHDIR}/error.h ${WRKSRC}/src
    @${CP} ${PATCHDIR}/eliteduo.def ${WRKSRC}/def

post-install:
    @${MV} ${ORIG_CONFIG} ${SAMPLE_CONFIG}
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>