blob: e8707ba889a278a2f3d7f0ed76b7de919b3b4a59 (
plain)
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
41
42
43
44
|
# $NetBSD: Makefile,v 1.16 2009/01/09 17:47:41 plunky Exp $
#
DISTNAME= obexapp-1.4.10
CATEGORIES= comms
MASTER_SITES= http://www.geocities.com/m_evmenkin/
MAINTAINER= plunky@rya-online.net
HOMEPAGE= http://www.geocities.com/m_evmenkin/
COMMENT= Obex application to transfer objects to mobile equipment
ONLY_FOR_PLATFORM= FreeBSD-*-* NetBSD-[4-9].*-*
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_DEFS+= VARBASE
INSTALLATION_DIRS+= bin
INSTALLATION_DIRS+= ${PKGMANDIR}/cat1
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
OWN_DIRS+= ${VARBASE}/spool/obex
RCD_SCRIPTS+= obexapp
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}|"
# Sigh, this needs the GNU libiconv.
USE_GNU_ICONV= yes
USE_BSD_MAKEFILE= yes
# because the directory name conflicts with the rc.d script
post-extract:
mv ${WRKDIR}/obexapp ${WRKDIR}/${DISTNAME}
.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"
|