| @@ -1,18 +1,17 @@ | | | @@ -1,18 +1,17 @@ |
1 | # $NetBSD: Makefile,v 1.93 2013/07/15 19:55:31 christos Exp $ | | 1 | # $NetBSD: Makefile,v 1.94 2014/05/20 19:45:27 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= nas-1.9.3.src | | 3 | DISTNAME= nas-1.9.4.src |
4 | PKGNAME= ${DISTNAME:S/.src//} | | 4 | PKGNAME= ${DISTNAME:S/.src//} |
5 | PKGREVISION= 1 | | | |
6 | CATEGORIES= audio | | 5 | CATEGORIES= audio |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nas/} | | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nas/} |
8 | | | 7 | |
9 | MAINTAINER= markd@NetBSD.org | | 8 | MAINTAINER= markd@NetBSD.org |
10 | HOMEPAGE= http://nas.sourceforge.net/ | | 9 | HOMEPAGE= http://nas.sourceforge.net/ |
11 | COMMENT= Network Audio System | | 10 | COMMENT= Network Audio System |
12 | LICENSE= mit # with no-advertisement clause | | 11 | LICENSE= mit # with no-advertisement clause |
13 | | | 12 | |
14 | PKG_INSTALLATION_TYPES= overwrite pkgviews | | 13 | PKG_INSTALLATION_TYPES= overwrite pkgviews |
15 | | | 14 | |
16 | # 1) uses dia library before it is built | | 15 | # 1) uses dia library before it is built |
17 | # 2) make succeeds even with failures, making this problem non-obvious | | 16 | # 2) make succeeds even with failures, making this problem non-obvious |
18 | MAKE_JOBS_SAFE= no | | 17 | MAKE_JOBS_SAFE= no |
| @@ -68,28 +67,28 @@ SUBST_FILES.owngrp= clients/audio/auconv | | | @@ -68,28 +67,28 @@ SUBST_FILES.owngrp= clients/audio/auconv |
68 | SUBST_SED.owngrp= -e 's/-c -o root -g wheel/-c -o ${UNPRIVILEGED_USER} -g ${UNPRIVILEGED_GROUP}/g' | | 67 | SUBST_SED.owngrp= -e 's/-c -o root -g wheel/-c -o ${UNPRIVILEGED_USER} -g ${UNPRIVILEGED_GROUP}/g' |
69 | .endif | | 68 | .endif |
70 | | | 69 | |
71 | REPLACE_SH= clients/audio/util/checkmail | | 70 | REPLACE_SH= clients/audio/util/checkmail |
72 | | | 71 | |
73 | PLIST_SRC= ${PKGDIR}/PLIST.clients | | 72 | PLIST_SRC= ${PKGDIR}/PLIST.clients |
74 | | | 73 | |
75 | .if ${OPSYS} != "Darwin" && ${OPSYS} != "Interix" | | 74 | .if ${OPSYS} != "Darwin" && ${OPSYS} != "Interix" |
76 | RCD_SCRIPTS= nasd | | 75 | RCD_SCRIPTS= nasd |
77 | PLIST_SRC+= ${PKGDIR}/PLIST.server | | 76 | PLIST_SRC+= ${PKGDIR}/PLIST.server |
78 | EGDIR= ${PREFIX}/share/examples/nas | | 77 | EGDIR= ${PREFIX}/share/examples/nas |
79 | CONF_FILES= ${EGDIR}/nasd.conf.eg ${PKG_SYSCONFDIR}/nasd.conf | | 78 | CONF_FILES= ${EGDIR}/nasd.conf.eg ${PKG_SYSCONFDIR}/nasd.conf |
80 | | | 79 | |
81 | . if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || \ | | 80 | . if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" \ |
82 | ${OPSYS} == "DragonFly" || ${OPSYS} == "Linux" || ${OPSYS} == "UnixWare" | | 81 | || ${OPSYS} == "DragonFly" || ${OPSYS} == "Linux" || ${OPSYS} == "UnixWare" |
83 | . include "../../mk/oss.buildlink3.mk" | | 82 | . include "../../mk/oss.buildlink3.mk" |
84 | . endif | | 83 | . endif |
85 | .endif | | 84 | .endif |
86 | | | 85 | |
87 | pre-configure: | | 86 | pre-configure: |
88 | cd ${WRKSRC}/config && ${SETENV} ${CONFIGURE_ENV} ./configure | | 87 | cd ${WRKSRC}/config && ${SETENV} ${CONFIGURE_ENV} ./configure |
89 | | | 88 | |
90 | # XXX OpenBSD 2.9 or later does not use lib/X11/config/bsdLib.rules, | | 89 | # XXX OpenBSD 2.9 or later does not use lib/X11/config/bsdLib.rules, |
91 | # XXX the rule in OpenBSDLib.rules does not do the following. | | 90 | # XXX the rule in OpenBSDLib.rules does not do the following. |
92 | # XXX PLIST should be splitted? | | 91 | # XXX PLIST should be splitted? |
93 | .if ${OPSYS} == "OpenBSD" | | 92 | .if ${OPSYS} == "OpenBSD" |
94 | post-install: | | 93 | post-install: |
95 | cd ${DESTDIR}${PREFIX}/lib && \ | | 94 | cd ${DESTDIR}${PREFIX}/lib && \ |