2012-10-23 21:50:50 +02:00
|
|
|
# $NetBSD: Makefile,v 1.16 2012/10/23 19:51:10 asau Exp $
|
2002-05-17 13:32:51 +02:00
|
|
|
#
|
|
|
|
|
2009-02-13 23:18:01 +01:00
|
|
|
DISTNAME= libirman-0.4.1c
|
2002-05-17 13:32:51 +02:00
|
|
|
CATEGORIES= sysutils
|
2009-02-13 23:18:01 +01:00
|
|
|
MASTER_SITES= http://libirman.googlecode.com/files/
|
|
|
|
EXTRACT_SUFX= .tbz
|
2002-05-17 13:32:51 +02:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= abs@NetBSD.org
|
2009-02-13 23:18:01 +01:00
|
|
|
HOMEPAGE= http://code.google.com/p/libirman/
|
2002-05-17 13:32:51 +02:00
|
|
|
COMMENT= Programming library for Irman - infrared control
|
|
|
|
|
2004-12-31 21:31:19 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2003-01-28 23:03:00 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
2002-05-17 13:32:51 +02:00
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples
|
|
|
|
CONF_FILES= ${EGDIR}/irman.conf ${PKG_SYSCONFDIR}/irman.conf
|
|
|
|
|
2004-12-31 21:31:19 +01:00
|
|
|
INSTALLATION_DIRS= share/doc share/examples
|
|
|
|
|
2002-05-17 15:06:09 +02:00
|
|
|
post-build:
|
|
|
|
${SED} -e "s:/usr/local/etc:${PKG_SYSCONFDIR}:g" \
|
|
|
|
-e "s:/usr/local:${PREFIX}:g" \
|
2002-06-14 22:38:40 +02:00
|
|
|
-e 's/test_func/irman_func/g' \
|
|
|
|
-e 's/test_io/irman_func/g' \
|
|
|
|
-e 's/test_name/irman_func/g' \
|
2002-05-17 15:06:09 +02:00
|
|
|
${WRKSRC}/README > ${WRKSRC}/libirman.README
|
2002-06-14 22:38:40 +02:00
|
|
|
${SED} -e 's:port /dev/ttyS1:port ${DEFAULT_SERIAL_DEVICE}:' \
|
|
|
|
${WRKSRC}/irman.conf > ${WRKSRC}/irman.conf.patched
|
|
|
|
${MV} ${WRKSRC}/irman.conf.patched ${WRKSRC}/irman.conf
|
2002-05-17 15:06:09 +02:00
|
|
|
|
2002-05-17 13:32:51 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|