| @@ -1,33 +1,35 @@ | | | @@ -1,33 +1,35 @@ |
1 | # $NetBSD: Makefile,v 1.23 2013/03/21 06:53:36 sbd Exp $ | | 1 | # $NetBSD: Makefile,v 1.24 2013/12/10 14:19:32 jperkin Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= openobex-1.7-Source | | 4 | DISTNAME= openobex-1.7-Source |
5 | PKGNAME= openobex-1.7 | | 5 | PKGNAME= openobex-1.7 |
6 | CATEGORIES= comms | | 6 | CATEGORIES= comms |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openobex/} | | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openobex/} |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= https://gitorious.org/openobex | | 10 | HOMEPAGE= https://gitorious.org/openobex |
11 | COMMENT= Implementation of the Object Exchange (OBEX) protocol | | 11 | COMMENT= Implementation of the Object Exchange (OBEX) protocol |
12 | LICENSE= gnu-lgpl-v2 | | 12 | LICENSE= gnu-lgpl-v2 |
13 | | | 13 | |
14 | BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen | | 14 | BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen |
15 | | | 15 | |
16 | USE_CMAKE= yes | | 16 | USE_CMAKE= yes |
17 | USE_TOOLS+= cmake pkg-config | | 17 | USE_TOOLS+= cmake pkg-config |
18 | | | 18 | |
19 | PKGCONFIG_OVERRIDE= openobex.pc.in | | 19 | PKGCONFIG_OVERRIDE= openobex.pc.in |
20 | | | 20 | |
| | | 21 | LDFLAGS.SunOS+= -lsocket -lnsl |
| | | 22 | |
21 | .include "../../mk/bsd.prefs.mk" | | 23 | .include "../../mk/bsd.prefs.mk" |
22 | | | 24 | |
23 | EGDIR= share/examples/openobex | | 25 | EGDIR= share/examples/openobex |
24 | | | 26 | |
25 | .if ${OPSYS} == "Linux" | | 27 | .if ${OPSYS} == "Linux" |
26 | INSTALLATION_DIRS+= ${EGDIR} | | 28 | INSTALLATION_DIRS+= ${EGDIR} |
27 | MAKE_DIRS+= /etc/udev /etc/udev/rules.d | | 29 | MAKE_DIRS+= /etc/udev /etc/udev/rules.d |
28 | CONF_FILES+= ${EGDIR}/60-openobex.rules \ | | 30 | CONF_FILES+= ${EGDIR}/60-openobex.rules \ |
29 | /etc/udev/rules.d/60-openobex.rules | | 31 | /etc/udev/rules.d/60-openobex.rules |
30 | | | 32 | |
31 | post-install: | | 33 | post-install: |
32 | ${MV} ${DESTDIR}/lib/udev/rules.d/60-openobex.rules \ | | 34 | ${MV} ${DESTDIR}/lib/udev/rules.d/60-openobex.rules \ |
33 | ${DESTDIR}${PREFIX}/${EGDIR}/60-openobex.rules | | 35 | ${DESTDIR}${PREFIX}/${EGDIR}/60-openobex.rules |