aboutsummaryrefslogblamecommitdiff
path: root/misc/hotkeys/Makefile
blob: 7c04788a9d17d46f005c682a5e57ed399b8aa066 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                               






                                                                    
                 




                                                                 
                               

























                                                                             
# 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
PORTREVISION=	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>