2008-05-25 23:20:07 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2008/05/25 21:23:26 wiz Exp $
|
2006-07-02 20:18:34 +02:00
|
|
|
#
|
|
|
|
|
2007-05-22 20:53:55 +02:00
|
|
|
DISTNAME= obexapp-1.4.7
|
2006-07-02 20:18:34 +02:00
|
|
|
CATEGORIES= comms
|
|
|
|
MASTER_SITES= http://www.geocities.com/m_evmenkin/
|
|
|
|
|
2008-05-25 23:20:07 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-07-02 20:18:34 +02:00
|
|
|
HOMEPAGE= http://www.geocities.com/m_evmenkin/
|
|
|
|
COMMENT= Obex application to transfer objects to mobile equipment
|
|
|
|
|
2007-03-01 22:39:08 +01:00
|
|
|
ONLY_FOR_PLATFORM= FreeBSD-*-* NetBSD-[4-9].*-*
|
2006-07-02 20:24:18 +02:00
|
|
|
|
2007-03-01 22:39:08 +01:00
|
|
|
OWN_DIRS+= ${VARBASE}/spool/obex
|
2006-07-02 20:18:34 +02:00
|
|
|
|
2007-03-01 22:39:08 +01:00
|
|
|
RCD_SCRIPTS+= obexapp
|
|
|
|
|
2007-05-22 20:53:55 +02:00
|
|
|
SUBST_CLASSES+= paths
|
|
|
|
SUBST_FILES.paths= Makefile obexapp.1 obexapp.h
|
|
|
|
SUBST_STAGE.paths= post-configure
|
|
|
|
SUBST_SED.paths+= -e "s|/usr/local/man|${PREFIX}|"
|
|
|
|
SUBST_SED.paths+= -e "s|/usr/local|${PREFIX}|"
|
|
|
|
SUBST_SED.paths+= -e "s|/var|${VARBASE}|"
|
2006-07-02 20:18:34 +02:00
|
|
|
|
|
|
|
# Sigh, this needs the GNU libiconv.
|
|
|
|
USE_GNU_ICONV= yes
|
|
|
|
|
2007-03-01 22:39:08 +01:00
|
|
|
# because the directory name conflicts with the rc.d script
|
|
|
|
post-extract:
|
2007-09-25 12:03:52 +02:00
|
|
|
mv ${WRKDIR}/obexapp ${WRKDIR}/${DISTNAME}
|
2006-12-30 23:40:57 +01:00
|
|
|
|
2006-07-02 20:18:34 +02:00
|
|
|
.include "../../comms/openobex/buildlink3.mk"
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
|
|
.include "../../textproc/expat/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|